Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid not advancing to next record
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Grid not advancing to next record
Divers
Thread ID:
00829500
Message ID:
00829500
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform