Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7348 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a main DB where a sequential job/serial number is assigned every time a new record is created. This DB is related to three other DBs that each might use the job number field. Buttons are used to transfer data, including the job number, to any of the related DBs as necessary.

I do not want the Job number to be transferred more than once to each related DB. When a "transfer data" button is selected I would like a script to verify if the job number already exists in the selected DB. If it does exist, the user should be prompted of the match and kept in the main DB.

I'm a FMPro 6 user. Somewhat of a rookie too. Please help! Thx

Posted

If you have a relationship based on job number, test

If [not IsEmpty(relationship::serial)]

Show Custom Dialog ["This job already exists in the other file."]

Halt Script

End If

Then continue with your steps to add the new job number.

This topic is 7348 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 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.