
SendKeys problem - datagrid app. shuts down after updating by sendkeys
Help someone!
Strange problem this. To update or enter a record into the datagrid I can
manually hit the Enter key to select a cell, and then the Down Arrow to move
to the next record - which works. If I put this code in an Update button,
the application updates, but then shuts down.
Sendkeys "{ENTER}{DOWN}"
If I put a DOEVENTS command between the two, I get "Out of stack space"
which I think is a known bug, so that doesn't work either.
If anybody can help it will be much appreciated.
Thanks
Stan