Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Static Blank Record in Grid?
Message
De
09/01/2001 12:05:14
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00461219
Message ID:
00461240
Vues:
12
>I have a grid for order line-item entry, and I'd like there to be solitary blank record available at the bottom of the grid at all times. I figured I could accomplish this easily if there was a LastRow prop of some sort. Additionally, I have DELETED set to ON, soz RECN() won't help.

I guess you could code to add a record each time the current last one is used. Making the record show last would depend on what order your records are in.

Lots of folks around here don't like using grids for data entry, and use the "Add" button method, with the new values being added in text boxes. They reserve grids for viewing data or selecting a particular record to edit. I guess you could classify this as a "best practice." Maybe someone else will chime in with a further explanation of the pitfalls of using grids for data entry. I use the "Add" button method, so I don't have experience with the pitfalls of using the grid.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform