Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a new record in Grid
Message
From
20/10/1998 06:19:04
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
To
19/10/1998 22:30:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00148288
Message ID:
00148418
Views:
17
>I´m using this:
>- In the rigthmost column of the grid I put a command
>button with a downarrow icon (this makes the thing intuitive)
>All the user has to do is go to the last column and click
>(or ) and he´s on the next record.

Why not simply add a blank record whenever the user
reaches the last row of the grid? The code could be
added to the when event of the key column of the grid.
You are discarding blank records when saving anyway.
This will save the push of buttons.

Which property will indicate the total number of active
rows in a grid? grid.RowCount? Whenever the activerow
equals the total number of rows, a new record is appended.
Regards,
Mr. Man-wai Chang
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform