Jump to content
Server Maintenance This Week. ×

Compare two tables and flag divergent records


Recommended Posts

I have an InstalledApp table that contains a list of apps installed on student iPads. I have an ApprovedApp table, which is a list of all apps that have been approved by the administration. I need for InstalledApp::appUnapproved to be populated with “Unapproved” in every record where InstalledApp::appName does not occur in the ApprovedApp table. I can probably script this with nested loops, but wonder if a calculation guru can suggest a more efficient method. Thanks.
 

Link to comment
Share on other sites

Assuming that the 2 tables are related by appName, you could do simply (result is Text):

If ( IsEmpty ( ApprovedApp::appName ) ; "Unapproved" )

 

Personally, I would prefer to make the result Number and use only:

IsEmpty ( ApprovedApp::appName )

but Filemaker limits the length of the string you can display when formatting a field as Boolean to 7 characters.

 

Edited by comment
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.