Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new detail lines in a grid
Message
De
12/05/2006 14:36:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Adding new detail lines in a grid
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01121445
Message ID:
01121445
Vues:
46
Hi all,

I've got an Order Entry form set up using two tables:

Ord_head (for the header info)
Ord_line (for the detail info)

I've got a grid set up for the detail info in Ord_line. I also have a Command Button set up for the user to add a new detail line. After entering all the detail, they click the button, and a new, blank detail line is added to the grid. When they're done entering detail lines for that particular order, they click a different Command Button to save and exit.

The users don't wanna have to click the "New Detail Line" button when they're done adding/editing each new detail line. They'd like to hit Enter when they're done with each line to have it automatically add a new detail line.

The problem I'm seeing with this is that using Tab to move from field to field isn't always the best way. For example, if a numeric field has a "0" in it to start, then you type in a "1", hitting Enter will leave that field with a "1" whereas hitting Tab will leave that field with a "10". Because of that, I've told the users to use Enter (as opposed to Tab) to move from field to field.

Any suggestions on how the user can tell the system when they're done with each detail line without having to grab the mouse and click the "New Detail Line" button? They really don't wanna have to leave the keyboard and reach for the mouse. They wanna just keep banging in new detail lines without that interruption.

Thanks very much!

John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform