- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Highlight the scriptobject in the hierarchy view so that all of the script is in teh script window. Copy all of that script to the clipboard. Now open your form. Click on the 1st page subform and right click. Choose the Insert ScriptObject option. A new untitled ScriptObject will appear. Highlight that and give it a meaningful name (in my case a chose MyScriptObject). Now in the script window paste the code into the script object.
When you call the script object from your form you would use the name of your scriptObject.functionname(passing any parameters that the function calls for)
Hope that helps
Paul
Views
Replies
0 Likes
Total Likes