Jump to content

Populating a seperate file with select records


schotja
 Share

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

Recommended Posts

I've always just used a simple copy/paste script but the more i investigate fm7 I've realized there might be better options. I'd like to populate a seperate file with a dozen fields from select records. Am i on the right track implimenting a calculation like a "get field" in the script instead?

Any rules that i whould be aware of or tips?

Thanks

Jared

Link to comment
Share on other sites

Set Field will work for you, assuming the records to be set are uniquely related to the current record. You could set a global in the current file with the id from the second one, then using a relationship from the global to id, set the fields in the related file. Once you move to the next record, simply set the global to the next desired id. This can be easy or relatively easy, depending upon how many related records there are.

I don't think you would need GetField, unless your function was dynamic.

Link to comment
Share on other sites

This topic is 6440 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
 Share

×
×
  • Create New...

Important Information

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