I have a vb add-in that adds items to the transaction screen from a userform, and it works great, except that is doesn't place the cursor in a new blank line, ready for the next entry on the transaction. is there a way do this via qsrules in code?
I found this when I was searching this forum for "code" sounds like a similar problem
Your add-in probably works, but it is the grid that is problematic. It's in memory already but somehow the grid does not update automatically. If you scroll down to the very bottom of the grid by pressing the down key, and then press the DEL key, your missing line will magically appear. So one workaround you can try doing programmatically is:
Set the current focus to the grid.
Send DOWN keystrokes until the cursor is at the bottom of the grid.
Send the DEL keystroke to force the grid to refresh it's display.
"ksk> I have a vb add-in that adds items to the transaction screen from a userform,
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.