Variable Database in revdb_connect

Jeff Honken jhonken at x12.info
Wed Jan 4 12:02:04 EST 2006


I'm trying to put a variable as my database name in a database
connection but I can't get the revdb_connect to see the variable.  Does
anyone know how to make the database a variable one in a database
connection?  Jeff


on mouseUp
     
     put x12provider into database
     
     
  put revdb_connect("sqlite","& database
&",,,,,"Address at web.com","bdJycJ") into tConID
  if tConID is "" then 
    answer warning "Problem creating or accessing database!"
  else
    put tConID into gConID
  end if

  answer gConID  
end mouseUp





More information about the use-livecode mailing list