----- Original Message ----- 
From: "Greg Miller" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, February 09, 2005 4:21 PM
Subject: [RBG7-L] - Re: Office Automation


> How do you pass data to R:Scripter?
via command line arguments

> Does R:Scripter have the ability to  query the R:Base database directly?

Well yes.

You could construct a script to instantiate an ADODB connection and Recordset
object and access the db from within RScripter.
Once you should understand that R:Scripter is just a utility that wraps the
Microsoft Script Control 1.0 and RemObjects PascalScript engine, then you can
begin to see the utility of R:Scripter.

Having said that, just about anything that can be done in a script can be done
by R:Scripter.

You can actually instantiate a delphi form at runtime and create objects on it
at runtime, adding event procedures and such, but that isn't what the intention
of it is.

The language of the script to run, the language dll, and the Script to execute
are the first three arguments passed, everything after that are the data
arguments, if any to be passed to the script..

> If there is a way to pass many  fields of data to R:Scripter at once

The R:Scripter wrapper allows you to pass arguments to it, unlimited in number,
but limited by the Maximum length of the data passed, which is 1499 characters.

The number of arguments passed in are all string datatypes and are expected to
be "type corrected" when they arrive in the Actual Script that is being
executed by R:Scripter.

Reply via email to