I have been using grids for input quite successfully but there is one annoying "feature" that bugs me.
The grid has 6 columns. The last column is 'amount'. If the user enters an even amount (3.00 or 3.50) and presses enter the cursor advances to the next record as desired, but if the user enters an odd amount (3.11 or 3.51) the cursor automatically wrapps and the user has to press the downarrow key to get a new record. I use the keypress event to test for nKey=13, I use the lostfocus event to verify data in certain fields then do keyboard f4. None of the code will advance to the next record with an odd amount entered.
question: Does anyone know how to make the cursor advance to the next record if an odd amount is entered?
Thanks, Chuck
Extreme Programming = Plan -> Design -> Code -> Test