September 14, 200619 yr Hello! I know how to get Filemaker to insert a default value into a field. I'd like it to restore the default value if a user enters a different value and later deletes it: i.e., if the value of a field is ever null, then FM should immediately set it to the default value (maybe "unknown"). Can anyone help me out?
September 14, 200619 yr Set your field up as an auto enter calc and try this Case(not Isempty(tester);tester;"Unknown") where tester is the name of the field you want to affect That should display whatever is in the field or 'unknown' if someone tries to leave it empty. It will also auto enter 'unknown' into the field on creation of a record Make sure to mark your calc as unstored HTH Phil
September 14, 200619 yr Author Thanks, Phil, looks great. What does it mean to set a calculation as "unstored"?
September 14, 200619 yr Glad it works. Unstored means that the result is only calculated when needed Phil
Create an account or sign in to comment