Problem with OR_PRTF (OpenInsight Specific)
At 24 APR 2001 10:06:30AM Steve Carlson wrote:
I have the following small stored procedure to test Or_prtf.
It compiles, but when I run it a dialog page appears saying
"Page 1" with a cancel button and stays there. Nothing else
happens. The file CLASSIFIED_POSITIONS has about 20 records.
Any help would be greatly appreciated.
Thanks
Steve C.
COMPILE SUBROUTINE FB_TO_DOS( charstr CtrlEntID,charstr CtrlClassID)
declare subroutine Or_prtf
Rlistcommand=LIST CLASSIFIED_POSITIONS CLASS_POS DESCRIPTION'
Dos_File=C:\TESTFB.TXT"
Or_prtf("",Rlistcommand,Dos_File)
end
At 24 APR 2001 10:42AM WinWin/Revelation Technical Support wrote:
Steve-
This usually occurs when you are mis-spelling a column name. Look in the system monitor for any clues.
Hope it helps-
Mike
At 24 APR 2001 11:00AM Steve Carlson wrote:
I got it working now.
I want to use the following command.
Rlistcommand=LIST FB_INSPECTIONS FB_CLP INSP_NO AUDITOR_NO APPROVED_DATE WITH APPROVED_DATE ] "08/31/00" ID-SUPP HDR-SUPP COL-HDR-SUPP NOPAGE'
Dos_File=C:\TESTFB.TXT"
Or_prtf("",Rlistcommand,Dos_File)
RETURN 0
With NOPAGE in the command it does not run. Take out NOPAGE and it
works. I really need to suppress the paging so a "user" can import
the dos file into Lotus without editing (deleting page marks in
an editor) before importing.
Any suggestions???
Thanks
Steve C.
At 24 APR 2001 11:17AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
The old ARev trick of setting @LPTRHIGH to 99999999999 or some other absurdly high number should prevent paging.
World Leaders in all things RevSoft
At 25 APR 2001 08:32AM Steve Carlson wrote:
That works perfect… I keep trying to do things the hard
way … and forget about the simple solutions…
Thanks again..
Steve C.
At 25 APR 2001 08:47AM Steve Carlson wrote:
Almost works….
When I run it…. accessing/printing about 600 records..
as OR_PRTF is running it breaks into the debugger with
a dialog saying "Eng0703: OR_PRTF_CALLBACK, line 1 variable
exceeds maximum length"
Am I trying to print too many records on 1 page (to a file)???
i.e. 600 records,
Which variable is being exceeded???
Thanks
Steve C.