We are going to run a promotion to allow a certain percentage discount if an
event occurs in the arena (we're a hockey arena and this is for our pro
shop). I already have the discount and query built and it works fine if I run
it from administrator, but would like to have a way to click a custom button
in POS to enable and disable the discount.
Thanks!
START /MIN osql -U sa -P typesapasswordhere -S hostname -d yourdatabasename
-Q "UPDATE ITEM SET DESCRIPTION = 'R/C GLIDER NEW' WHERE ITEMLOOKUPCODE =
'11200'"
If you need help setting this up, reply back - hope this helps.....
Great Idea... Could I pass a parm to the batch file?
Dj
"convoluted" <convo...@discussions.microsoft.com> wrote in message
news:7C28AB26-785F-4EE2...@microsoft.com...
Just kidding - english please for us non-programmers (or whatever parm
refers to)
Easiest thing to do is add the path to the batch file in the parameters of
the custom pos button - I've done a couple that seemed to work (like the
example I posted - it ran the update query as soon as I clicked on the custom
POS button)
Sorry for the lame attempt at humour.....hope this helps.
"Dan-902" wrote:
> .
>
That was a Gouda joke.
Thanks for the info.
Dj
"convoluted" <convo...@discussions.microsoft.com> wrote in message
news:B8381A9E-D3B4-4DD0...@microsoft.com...