General information
Title:
2.6 changing a screen from editable to non-editable
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only