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

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

Reply to
kskinne
Loading thread data ...

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.