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

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

Recommended Posts

Posted

It seems simple but . . . I can't get it to work

I have a very simple 6 field DB (DB1) that pulls data from a relationship DB (DB2). What I am trying to do is when the job is complete a date is put in the 6th field of DB1. Then the job is complete and I need to purge the record. Here's my dilema.

1. I need to find the "completed" jobs (no problem, I scripted it)

2. Sort (no problem, same script)

3. copy the "found and sorted" records ( no problem, same script)

4. Place in "found and sorted" records in a 3rd DB (history file for stat analysis) and then return control back to DB1 to delete "found and sorted records.

I realize that I could copy and then delete, but my issue is getting the records into a third database without using a manual import/export situation.

thanks for any input. It seems so simple, but my simple mind doesn't always prevail

Posted

Create an import script in DB3 and execute from DB1 using the Perform Script step. FM will only import records in the found set of the source FM db. Add a Go to Layout step to return to DB1.

Perform Script[sub-scripts,external:"DB3.fp5","import"]

Go to Layout["Your Layout"]

Posted

thanks for the help on the external routine. If you don't mind steering me again, I have one for you.

I have a field (f1), that has a pop up menu that includes "low, out. completed". I also have another field in the same record that is date completed (f2). I would like to use the pop up menu to select "completed" in f1 and it auto enter in f2 the current system date.

Any ideas?

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