Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AllowAddNew property of grids
Message
From
06/09/2002 16:03:34
 
 
To
06/09/2002 15:38:19
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00697738
Message ID:
00697750
Views:
17
Mike,

Personally, I really dislike grids for data entry. I use an 'Add' button; the user can Add a line by pressing Alt-A or hitting the button. This adds a new record and calls another form for editing the new record.

>Hi All,
>
>I am experimenting with a grid's AllowAddNew property. When I set it to .T. and use the down arrow key from the last row of the grid, a new blank row appears as expected. This is ok except for the fact that I need to "intercept" this event and setup some of the fields in the underlying table.
>
>How do I do the latter? What event is fired so that I can take action?
>
>TIA.
>
>Mike
>
>PS I'd be interested in other opinions regarding adding new records using this feature. Good or bad experiences??
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform