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

Scripts and tables


FMP learner

Recommended Posts

I have a file that contain multiples tables. However, I need to run a script for all of these tables. I wrote the script and it wored on one table only.

Any one knows what couldl be the reason and how can I make my script work on multible tables in the document?

TIA

Link to comment
Share on other sites

generally speaking, scripts perform in the context of the current table. So move from table to table ( go to layout [layout (table) ] ). But it's really hard to say without knowing the purpose of the script and the database structure... so please type your script here.

Link to comment
Share on other sites

generally speaking, scripts perform in the context of the current table. So move from table to table ( go to layout [layout (table) ] ). But it's really hard to say without knowing the purpose of the script and the database structure... so please type your script here.

 

 

the script is asking certain buttons to increase the number in a certain field by 1 each time its hit

And this is the script:

 

If[Get (ScriptParameter) =Personal]

Set Field [Group1::Personal; Group1::Personal +1]

End If

Commit Records/Requests [skip data entry validation; No dialog]

Link to comment
Share on other sites

this script uses a set field pointing at a specific field and table. under what circumstances should it point at another field and table? (and why?)

Link to comment
Share on other sites

this script uses a set field pointing at a specific field and table. under what circumstances should it point at another field and table? (and why?)

 

I just gave you an example of the script. Its so long. Each step of the script refers to a specific field. different fields in different tables. but it turns that the script works in one table but not the others

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.



×
×
  • Create New...

Important Information

Terms of Use