Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This example passes a script parameter from one script to another.
- #Assume this script was called with the parameter string value "Classes::Introduction to French"
- Go to Layout [Get( ScriptParameter )]
- Perform Script ["Monthly attendance report"; Parameter: "Month of "
- & Month (Get( CurrentDate ))]
- Sort Records [Restore; No dialog]
- Print Setup [Restore; No dialog]
- Print [Restore; No dialog]
- #In this next step, the value returned for the ScriptParameter is
- still the original "Introduction To French", which will be the
- parameter used in the sub-script "Monthly grade report"
- #The previous Perform Script did not change the value for the
- parameter inside this main script
- Perform Script ["Monthly grade report"; Parameter: Get(ScriptParameter)]
- Sort Records [Restore; No dialog]
- Print Setup [Restore; No dialog]
- Print [Restore; No dialog]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement