1 more quest. regarding rlist (OpenInsight Specific)
At 31 JUL 2000 12:16:19PM DAn wrote:
When using the rlist command, it has the following parameters:
rlist(statement, target,targetname, userarg, debugflag)
Currently when using the 'list' command, the target is by
default=target_printer$.
However, if I want to redirect this to a local file
(such as report.txt) on my webserver and thus allow the user to download the file, how would i do that?
Thanks,
Dan.
At 31 JUL 2000 02:39PM WinWin/Revelation Technical Support wrote:
Dan-
In this case, you'd want to use OR_PRTF (a close cousin of OR_VIEW)
Syntax is:
Call OR_Prtf('', 'LIST FILE FIELD1 FIELD2','C:\OUTFILE.TXT')
Hope it helps-
Mike Ruane
WinWin Solutions Inc.
At 31 JUL 2000 02:40PM Don Miller - C3 Inc. wrote:
DAn ..
Not easily. The best way to do this is to define a printer that can capture its output in a user-specified disk file. I would also make it a Text Only Generic printer (since R/LIST only does this anyway). Then, when the output is sent to the printer via OpenEngine, it will prompt you for the filename. Give it a path and name that is accessible to the Web Server and it can be downloaded or printed from there.
Don Miller
C3 Inc.
At 31 JUL 2000 02:54PM Don Miller - C3 Inc. wrote:
Mike .. why didn't I think of that . You can also use OR_VIEW and the Export to DOS option from there(which calls the same thing anyway). Oh well .. another grey cell hits the bug-zapper.
DonM
At 31 JUL 2000 03:56PM DAN wrote:
THANKS FOR ALL YOUR HELP, MY PROGRAM WORKS NOW :)!
DAN.
At 01 AUG 2000 08:30AM Mike Ruane wrote:
It's that RSM (Random Synaptic Misfire). I experience it frequently. Its a direct cause of my CRS (Can't Remember Sh*t)
Mike