May 21, 200322 yr Hi guys, I want to have a button on my layout, that enables entry into a field. However, if people click into the field, entries should not be possible. I have a huge note field, that I don't want people to edit manually, but I want to put a separate script button on there, so that when people do have to edit something (Murphy's law), they can click the button. Any ideas?
May 21, 200322 yr In Layout, choose field format & uncheck "allow entry ..." Your button should have the script Go to field, [yourfield] attached.
May 21, 200322 yr Beware: Once a user clicks the button (to enter the field), he can edit (and delete!) anything in the notes field, including dates, usernames, etc. if it's just one big text field. You might want to consider a more elaborate setup where notes are kept as individual records in a related file. Then you can control which aspects a user can edit and/or delete (for instance, allow users to edit only their own notes). This will also allow for better sorting/searching. It depends on your application, but I inherited a solution with a single large notes field, and it has gotten a bit unruly to say the least.
May 21, 200322 yr Author Hello Chris, that doesn't work for me. If I uncheck "allow entry", and then create a button to use the step "go to field", the field can still not be edited. Any other ideas?
May 21, 200322 yr If you are having problems setting it up that way, just duplicate the layout, set up the main layout with "allow entry" unchecked and a button scripted to go to the editable layout. On th editable layout have a "finished" button that takes the user back to the not editable layout. Low tech, simple and functional. I agree with Brad though. You may want to see if breaking the notes up into editable & non-editable components makes sense for you. Phil
May 21, 200322 yr Do you want to allow users to change/delete existing notes or just add a new line of notes? Ed.
May 21, 200322 yr see attachment for another method.... Well it follows Christian and some others advises, but.... editnotes.fp5.zip
May 23, 200322 yr Ugo, I'm a newbie. Can you explain how you did this ? I cannot reverse it to make it work... Thank you.
May 23, 200322 yr Hi, What is wrong with it ? It works fine for me. Are you saying it works but you don't understand how I did it ? If so, as it is said in the text "notes", just dissociate each fields in Layout Mode and check the define fields. Sorry if I'm brutal, but finding out is also a way to learn, I think. Should I be more specific when posting a tip ?
May 25, 200322 yr On a mac the go to field step does not go to field when allow entry is off. However, if you write a script in Scriptmaker with this very same step it does. Very strange indeed. I have many fields which I need the user to access for finds, copy etc. I simply put the editable field (allow entry unchecked) behind a calculation that equals the field. A script (from Scriptmaker) with go to field for editing purposes.
Create an account or sign in to comment