Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Bob Green


Robert E. Green
 Share

Recommended Posts

I need help on running a find in a script. When I set the find =320 it works. When I set $fnd=320 and set the find = $fnd it doesn't work. Is FIND not able to evaluate a variable or a global? My first week in FileMaker and I already know "Scripts...You can't live with them and you can't live without them!" Someone throw me a life line! Thanks!!

Link to comment
Share on other sites

If you mean the Perform Find script step, sorry, no, it doesn't support variables.

 

You can do it this way instead:

 

Set Variable [$VariableName, "whatever"]

Enter Find Mode []

Set Field [Table::FieldName, $VariableName]

Perform Find []

Link to comment
Share on other sites

You can't type a variable directly in a Find request or store a variable in a Find request. Instead, do something like:

 

Set Variable [ $fnd ; 320 ]

...

Enter Find Mode[]

Set Field [ field ; $fnd ]

Perform Find []

Link to comment
Share on other sites

You might want to rethink your approach to thread titles.

 

Or then again maybe not. You got at least two people popping in curious about what a "Bob Green" might be in FileMaker parlance...

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

Terms of Use