Home » Developer & Programmer » Forms » REP-0159 Message while running report from Forms6i
REP-0159 Message while running report from Forms6i [message #375466] Tue, 31 October 2000 10:35 Go to next message
Bob Corrado
Messages: 1
Registered: October 2000
Junior Member
Hi,

I have converted a report to Reports 6i, which was originaly developed in Reports 2.5. When I try to run the report from the form using Run-Product, It gives me Error in the Reports server. here is the Error

"Error Submitting report
REP-0159: Syntax Error on Command Line"

Here is the command which I have written in the key-print trigger in the form.

"RUN_PRODUCT(REPORTS,'SP31010',SYNCHRONOUS,RUNTIME,FILESYSTEM,LIST_ID)

where LIST_ID is the parameter list.

Thanks in advance.

Bob
Re: REP-0159 Message while running report from Forms6i [message #375469 is a reply to message #375466] Wed, 01 November 2000 08:52 Go to previous message
-sven
Messages: 11
Registered: August 2000
Junior Member
Hi Bob,
The same thing happened to all my run_product calls after conversion to 6. I added a null as a final parameter in the call and it worked again. I sure hope it works for you:
"RUN_PRODUCT(REPORTS,'SP31010',SYNCHRONOUS,RUNTIME,FILESYSTEM,LIST_ID,'')
Note that the final parameter is two single quote marks(''), not one double quote (").
Good luck.
-sven
Previous Topic: Querying on date in Forms
Next Topic: format trigger + placeholder column
Goto Forum:
  


Current Time: Fri Jul 10 00:45:49 CDT 2020