Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make Grid add only
Message
 
To
26/10/2000 12:29:15
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00434483
Message ID:
00434699
Views:
13
Mike
You could also keep the Grid ReadOnly full time, and use it like a list box (maybe?) to scroll the table(s) and only add or edit rows through txtboxes?
I've heard some PMs say never enter directly to a grid, while others say no problem. Go Figure:)


>>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.
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform