Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadOnly after open
Message
From
26/02/1997 12:27:39
 
 
To
21/02/1997 15:51:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00021599
Message ID:
00022098
Views:
43
>>Is there any way to make a table read-only after is has been opened? (Trying to find an easy and robust way to make all controls bound to a table disabled)
>
>Thisform.Dataenvironment.CursorX.ReadOnly=.T.
>or
>USE ... NOUPDATE

The ReadOnly property of a cursor is Read-Only at run time and Read-Write at design time. As for USE ... NOUPDATE, this would be a good idea if I wanted to close and re-open the table everytime I want to change its read-only state. Unfortunately, this is not the case.

To solve the problem, I was forced to implement, as Michel did, a method to recursively disable all control on a form bound to a field in that table

Best regards,
Gino M.
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Previous
Reply
Map
View

Click here to load this message in the networking platform