I have a table with a number of reports and have a problem with only one of the reports.
1.) The problem report works on three machines that have A5v9 Pro when signed in as administrator or as the owner of the machine. The report will not run on these machines if signed in as any other person that has permissions to run the report.
2.) The report will run on all run time machines when signed in as
administrator.
3.) The report presents the following error message when attempting to preview the report:
Script: On push line 22: Report,preview("Previous Days Receipts"), Query.filter, query. order) Improper Character.
I have tried to rebuild the on push using the genie and the x-basic is the same as the original.
A similiar error message appears when attempting to print the report.
The report filter is:
IF(DOW(date())=2,Q_DATE=date()-3,Q_DATE=date()-1)
The on push x-basic is:
'Preview previous day's receipts report.
query.filter = ""
query.order = ""
'Prompt user whether to print, or preview the layout. Set default to Preview
prompt_result = ui_get_print_or_preview("Preview ")
If prompt_result = "Print" then
:Report.Print("Previous Day's Receipts",query.filter,query.order)
Else if prompt_result = "Preview" then
:Report.Preview("Previous Day's Receipts",query.filter,query.order)
End if
Please help.
1.) The problem report works on three machines that have A5v9 Pro when signed in as administrator or as the owner of the machine. The report will not run on these machines if signed in as any other person that has permissions to run the report.
2.) The report will run on all run time machines when signed in as
administrator.
3.) The report presents the following error message when attempting to preview the report:
Script: On push line 22: Report,preview("Previous Days Receipts"), Query.filter, query. order) Improper Character.
I have tried to rebuild the on push using the genie and the x-basic is the same as the original.
A similiar error message appears when attempting to print the report.
The report filter is:
IF(DOW(date())=2,Q_DATE=date()-3,Q_DATE=date()-1)
The on push x-basic is:
'Preview previous day's receipts report.
query.filter = ""
query.order = ""
'Prompt user whether to print, or preview the layout. Set default to Preview
prompt_result = ui_get_print_or_preview("Preview ")
If prompt_result = "Print" then
:Report.Print("Previous Day's Receipts",query.filter,query.order)
Else if prompt_result = "Preview" then
:Report.Preview("Previous Day's Receipts",query.filter,query.order)
End if
Please help.
Comment