Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Static Blank Record in Grid?
Message
From
10/01/2001 10:14:30
 
 
To
09/01/2001 12:05:14
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00461219
Message ID:
00461622
Views:
14
>>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.

Could the AllowAddNew method be what John is looking for?
Previous
Reply
Map
View

Click here to load this message in the networking platform