RevOpenDatabase(tQuery)

hershel fisch hershf at rgllc.us
Wed Nov 19 15:57:12 EST 2008


On 11/19/08 3:29 AM, "Jan Schenkel" <janschenkel at yahoo.com> wrote:
I'm wondering because this works?

put revOpenDatabase (" & pDbType &"," & pHost & "," & pDbName & "," &
pUserName & "," & pPassword &",)" into tResult
 (with postgresql)?
Hershel


> --- hershel fisch <hershf at rgllc.us> wrote:
>> On 11/18/08 8:13 PM, "hershel fisch"
>> <hershf at rgllc.us> wrote:
>> This is the correct syntax but doesn¹t work, if I
>> spell it out then it does.
>> 
>>> Hi, what is the reason that this doesn't work
>>> Put revOpenDatabase(tQuery) into tResult
>>  Tquery contains ("SQLite","/Applications/Revolution
>>  Enterprise/3.0.0-rc-3/test.db",,,,)
>>> 
>>> The error stack "x": execution error at line n/a
>> () near "revdberr,syntax
>>> error"
>>> 
>>> Thanks, Hershel
>>> 
>> 
> 
> That's just how xTalks work, you can't just toss all
> parameters into a single variable and hope that the
> command or function figures it out - unless said
> command or function is explicitly programmed to do so.
> 
> Revolution can do a great many things, but not
> telepathic connections to the developers, I'm afraid.
> 
> Jan Schenkel.
> 
> Quartam Reports & PDF Library for Revolution
> <http://www.quartam.com>
> 
> =====
> "As we grow older, we grow both wiser and more foolish at the same time."  (La
> Rochefoucauld)
> 
> 
>     
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list