awayand Posted May 21, 2003 Posted May 21, 2003 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?
cjaeger Posted May 21, 2003 Posted May 21, 2003 In Layout, choose field format & uncheck "allow entry ..." Your button should have the script Go to field, [yourfield] attached.
bradm98 Posted May 21, 2003 Posted May 21, 2003 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.
awayand Posted May 21, 2003 Author Posted May 21, 2003 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?
Philland Posted May 21, 2003 Posted May 21, 2003 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
EddyB Posted May 21, 2003 Posted May 21, 2003 Do you want to allow users to change/delete existing notes or just add a new line of notes? Ed.
Ugo DI LUCA Posted May 21, 2003 Posted May 21, 2003 see attachment for another method.... Well it follows Christian and some others advises, but.... editnotes.fp5.zip
Laetitia Posted May 23, 2003 Posted May 23, 2003 Ugo, I'm a newbie. Can you explain how you did this ? I cannot reverse it to make it work... Thank you.
Ugo DI LUCA Posted May 23, 2003 Posted May 23, 2003 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 ?
Laetitia Posted May 24, 2003 Posted May 24, 2003 Ugo, You ain't brutal....but realistic. Works like a dream. Thanks
Ugo DI LUCA Posted May 24, 2003 Posted May 24, 2003 My wife's firstname is Laetitia too... Welcome here Titi, and enjoy...
Peter Fenner Posted May 25, 2003 Posted May 25, 2003 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.
Recommended Posts
This topic is 7857 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