Jump to content

Finding a variable value in a script


Ben vd Beek
 Share

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

Recommended Posts

  • Newbies

With FM7, the next question.

If I have 2 tables:

BOOKS with field AuthCode and global field gAuthCode

AUTHORS with field AuthCode

joined one-to-many on AuthCode from AUTHORS to BOOKS.

I have a form with gAuthCode on it. This shows a dropdown menu of the AuthCodes from AUTHORS.

User choses one of the authors form this list.

I now want to make a script finding all the BOOKS from that author. I can do script step PERFORM FIND, but there I cannot give a fieldname gAuthCode as a value, because only plain text is allowed. How can I make a script step to filter only the BOOKS from the author in gAuthCode, after which I eg can print a list of thes books?

Link to comment
Share on other sites

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