Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2.6 changing a screen from editable to non-editable
Message
De
20/06/2002 13:10:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
2.6 changing a screen from editable to non-editable
Divers
Thread ID:
00670716
Message ID:
00670716
Vues:
35
The program I am using has records coming from 2 differenct sources. 1 source is from a vendor program - downloaded, the other is data entry from our office.

The screen in question uses @ ... say ..... get .....

If the record is from the vendor, I do not want the user to be able to change the options. However, if it's data entry in house, she needs to be able to make changes.

I have a flag which is working correctly that indicates where the record is from. I tried the following:

@ .... say .... get ......
@ .... say .... get ......
@ .... say .... get ......

if _change
read
else
read nolock
endif

The screen was read with a nolock but it still allowed me to edit the data. What am I doing wrong or is there a better way to do this?

Thanks for you help,
Sunshine
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform