erik100 Posted November 24, 2008 Share Posted November 24, 2008 I have a database with product names and serial numbers. I need a script that will keep the user from erasing the 2 fields above. So if the user changes the serial number and closes the application or moves to another record FM will ask "do you want to save the changes made to product serial number" And a Yes/No option Any great ideas?:? Thanks!! Link to comment Share on other sites More sharing options...
mr_vodka Posted November 24, 2008 Share Posted November 24, 2008 You can put a validation on those two fields that check that they are not empty. Link to comment Share on other sites More sharing options...
erik100 Posted November 24, 2008 Author Share Posted November 24, 2008 What do you mean by that?: remember I am a beginner, more or less!!! Link to comment Share on other sites More sharing options...
erik100 Posted November 24, 2008 Author Share Posted November 24, 2008 Don't I have to create a script so if the serial number field changes by 1 digit or letter the system will aks me if I want to save the changes??? Link to comment Share on other sites More sharing options...
mr_vodka Posted November 24, 2008 Share Posted November 24, 2008 Sorry I may have misread your question. What I had suggested was going to define fields and then click the validation tab. You can make is so that those fields are never empty. However, upon reading your post a second time, it seems as though you want to check it if it ever changes. I am not sure if you can do it for only two fields. You can though make is so that you ask the user if they want to commit the record or not by unchecking the options to save the record automatically under the layout setup options... But this is for the whole record itself not just two fields. Link to comment Share on other sites More sharing options...
erik100 Posted November 25, 2008 Author Share Posted November 25, 2008 Any more ideas.....HELP!!! Link to comment Share on other sites More sharing options...
aldipalo Posted November 25, 2008 Share Posted November 25, 2008 Try this. View_Edit.zip Link to comment Share on other sites More sharing options...
erik100 Posted November 26, 2008 Author Share Posted November 26, 2008 That script is just beautiful. Great. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5771 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