One script Multiple tables?
I would like to create a script that can be used on multiple tables. This is my current script:
Go to layout ["Count_Report" (Local_104)
Move/Resize Window [Current Window; Height: 660 ; Width: 900]
Set Error Capture [On]
Perform Find [Restore]
If [Get (FoundCount) = 0]
Show Custom Dialog ['No Records Found';"Please Import records to continue."]
Go to Layout [Original Layout]
Insert Text [Select; Local_104::gHeader; "Current Participant Count Allocation by Age Group and Default Only"]
Sort Records [Restore; No Dialog]
The goal is to use the same or similar script but instead of using "Local_104" I want it to relate to whatever table that the script is being used on. Is this possible?