Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control
Message
 
To
25/04/1998 01:30:19
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00094863
Message ID:
00094882
Views:
20
>How to make the Insert and Copy function for the record in the grid control ? make me confusing about this ... ( I was clipper programmer at last )
>
>regards

Winan, actually it is done the same ways like in Clipper - you can APPEND record to the table which is grid.recordsource, to copy the whole record you can use SCATTER, APPEND BLANK and GATHER, or INSERT INTO... VALUES...

The Grid control also has AllowAddNew property, but I personally never use it.
What HELP says about it is:
*****
If AllowAddNew is set to true (.T.), you can add a new record to a table in a grid by pressing the down arrow while positioned on the last record in the grid, as long as the grid is read-write. New records cannot be added from within the grid if the grid is read-only (if the RecordSourceType is a query, a table is read-only, and so on).
*****

HTH,

NIck
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform