can i force screen refresh via code w/ InitializeTransaction hook?

Apr 04, 2006 0 Replies

Reposting this question - I wrote a code that is triggered by the InitializeTransaction hook, which prompts the cashier with a userform they use to select a specific transaction type at the beginning of the transaction, among other things.



Is there a way that I can force the transaction screen to refresh at the start of this code, so that when a transaction closes and a new one starts (triggering this code), the user will not see the contents of the prior transaction on the screen in the background?



For example I complete, or cancel, a transaction that contains a bunch of items on the transaction screen. Without the hook, when the new transaction is initialized, the sales rep and the customer selection windows pop up, and the transaction screen is cleared. But with the hook triggered, the transaction screen is not cleared until my code is finished running. Any way to get around this?



Thanks Kevin


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required