Advertisement
Guest User

Filemaker test 2

a guest
Jul 8th, 2016
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #This example passes a script parameter from one script to another.
  2. #Assume this script was called with the parameter string value "Classes::Introduction to French"
  3. Go to Layout [Get(  ScriptParameter  )]
  4. Perform Script ["Monthly attendance report"; Parameter: "Month of "
  5. & Month (Get( CurrentDate ))]
  6. Sort Records [Restore; No dialog]
  7. Print Setup [Restore; No dialog]
  8. Print [Restore; No dialog]
  9. #In this next step, the value returned for the ScriptParameter is
  10. still the original "Introduction To French", which will be the
  11. parameter used in the sub-script "Monthly grade report"
  12. #The previous Perform Script did not change the value for the
  13. parameter inside this main script
  14. Perform Script ["Monthly grade report"; Parameter: Get(ScriptParameter)]
  15. Sort Records [Restore; No dialog]
  16. Print Setup [Restore; No dialog]
  17. Print [Restore; No dialog]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement