Steve S Posted April 19, 2002 Posted April 19, 2002 On a layout I want the user to be able to see the data in the field, search the fields, but not able to enter/edit the field in browse mode. I now have a layout setup where the user can view the information and search the fields, but they can edit the text. If I select the 'do not allow entry into field' option, the user cannot search that field anymore as they can no longer enter it. I cannot make these field strict as I need to be able to edit them in other layouts. Nor can I setup a 'search layout' in find mode, as I need them to be able to browse through the records before and after searches. I'm sorry if this is a beginner type question, but I'm new to this FM stuff.. learning as I go.
IdealData Posted April 19, 2002 Posted April 19, 2002 Here's a nice technique Lets say your basic field is called "basicfield" Now creat a new calculation field called "calcfield" The calulation is calcfierld = basicfield. Now you can use the calcfield for find requests, but users can't modify it because its a calculation.
Steve S Posted April 19, 2002 Author Posted April 19, 2002 Very clever Mark.. Very clever. thanks alot. Now a question for another forum perhaps, but with all these additional fields should I be having concerns? Does it matter? I ask because I have now about doubled the amout of feilds in my DB.
SteveB Posted April 19, 2002 Posted April 19, 2002 Without knowing how many fields you have, I'd guess that until you get above 1000 you'll won't have problems. At that point, it may indicate the need to split the file up, but more for maintenance than the fact that FM can't handle it.
AndrewBruno Posted April 30, 2002 Posted April 30, 2002 This simple technique saves the bother of creating calculated fields and keeping track of whether you are using the original field or the calculated field on a layout. The script is easily copied and modified for any field. Assign the following script to the field If[status(CurrentMode)=1] Go to Field [FIELDa] Exit Script EndIf Enter Find Mode [] Go to Field [FIELDa] You should also ensure that this field is excluded from your tab order or the user could tab into the field and then edit / delete.
Recommended Posts
This topic is 8249 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now