SQLite revOpenDatabase() and Relative File Paths

Kay C Lan lan.kc.macmail at gmail.com
Thu Feb 20 00:54:55 EST 2014


This works

put the defaultFolder & "/Folder Name/mySQLite.db" into tPath
get revOpenDatabase("sqlite",tPath,,,)

But this doesn't

get revOpenDatabase("sqlite","/Folder Name/mySQLite.db",,,)

I thought the point of the defaultFolder was so you didn't have to
continually build full file paths but could use relative file paths when LC
needed a path.

What am I doing wrong?



More information about the use-livecode mailing list