--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Jan,
> 
> It's not working, I don't think I understand how to
> use this... :(
> When I setup a databse-connection and use
>   put revQueryLongName(cREVDatabaseQuery["dbhost"])
> into msg
> I don't get anything...
> 
> What am I doing wrong?
> 
> Ton
> 

Hi Ton,

Maybe the following is a better example. Suppose you
have a query named "MyFirstQuery".
--
  put revQueryLongName("MyFirstQuery") into \
      tQueryObject
  put the cREVDatabaseQuery["dbhost"] of tQueryObject
--

For a list of all your query objects, use the
undocumented function 'revQueryObjects'

So if you only want a quick way to change the host for
all your queries, you can do something like :
--
  put <_the_new_host_> into tNewHost
  put revQueryObjects() into tQueryObjects
  repeat for each line tQueryObject in tQueryObjects
    set the cREVDatabaseQuery["dbhost"] of \
        tQueryObject to tNewHost
  end repeat
--

Hope this helped,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to