Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make Grid add only
Message
From
26/10/2000 12:29:15
 
 
To
26/10/2000 07:34:50
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00434483
Message ID:
00434677
Views:
19
>is it posible to Make Grid add only ie cannot edit exiting records ?

Make the grid ReadOnly, and have a command button to APPEND BLANK, set a flag that you're adding a record, and in the BeforeRowColChange, don't allow them to change rows if the Adding flag is on.

Have another button to save the changes and stop adding that also turns the adding flag off.

Or, simply have a ReadOnly grid, that uses another DataEntry form or page with textboxes and values to do that editing and adding. DE is much easier in controls than a grid.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform