Hi Larry,
I did so and It returned error messages for:
PRNSETUP 'printername'
LAUNCH

It did not return error messages for:
OUTPUT  xxxx.reg
OUTPUT xxx.BAT
OUTPUT PRINTER
OUTPUT SCREEN
ZIP

However, no files were created on the drive.
The documentation available for trigger and procedures do not state that these
commands are invalid, in fact, when the update trigger procedure is triggered
from the R> the output files and the zip command executes OK.  It seems that
without an open RBase session doing the triggering, ei  Oterro, the Rbase
database engine is unable to execute these type of command.   Is an R> prompt
environment required??????  I am not sure?? The documentation does not help??
This would be a very powerful technique where using a table trigger, an R Base
reports to a PDF file can be generated automatically.
Thanks,
Manuel




Lawrence Lustig wrote:

> > I created a procedure that generates a report  when an UPDATE Trigger
> > occurs.  It works like a charm, BUT when I tried running it through and
> > update command in Tango the triggered procedure does not work.
>
> Well, the trigger should run in Oterro, but of course, the commands in that
> prodedure have to be ones that are allowed in Oterro.  Printing a report
> with the PRINT command would not be allowed.  In fact, I doubt any output at
> all would be allowed (since Oterro has no user interface).
>
> Try submitting the commands in your procedure one-by-one to Oterro with
> DIRECT DBMS ACTION.  If any come back with a Command not currently supported
> message, that's the culprit.
> --
> Larry
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
begin:vcard 
n:de Aguiar;Manuel
tel;fax:(323)661-7698
tel;work:(323)660-3511
x-mozilla-html:FALSE
url:http://www.mdenterprises.net
org:M|D Enterprises
adr:;;2412 No. Commonwealth Avenue;Los Angeles;California;90027-1206;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Developer
note;quoted-printable:The information contained in this e-mail may be privileged, confidential,=0D=0Aand protected from disclosure.  If you are not the intended recipient, you=0D=0Aare hereby notified that any dissemination, distribution or duplication of=0D=0Athis communication is strictly prohibited.  If you have received this=0D=0Acommunication in error, please notify the sender immediately and delete all=0D=0Acopies.=0D=0A=0D=0Ahttp://www.mdenterprises.net=0D=0Ahttp:/www.databasedeveloper.com=0D=0Ahttp://www.MdrBASE.com=0D=0A
x-mozilla-cpt:;-1
end:vcard

Reply via email to