libdatabase : connection problem

Trevor DeVore lists at mangomultimedia.com
Sun Aug 28 23:30:41 EDT 2005


On Aug 28, 2005, at 2:46 AM, Revolution wrote:

>         if dbaddress is empty then put "127.0.0.1" into dbaddress
>         put fld "dbaddress" into tDbA["Host"]

You are checking if a variable is empty and putting "127.0.0.1" into  
the variable.  You then place the contents of the field into the Host  
key.

Try

if text of field "dbaddress" is empty then set text of field  
"dbaddress" to "127.0.0.1"


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com





More information about the use-livecode mailing list