Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadOnly after open
Message
De
26/02/1997 12:27:39
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
21/02/1997 15:51:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00021599
Message ID:
00022098
Vues:
46
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform