On Feb 19, 2014, at 10:54 PM, Kay C Lan <lan.kc.macm...@gmail.com> wrote:

> 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?

Kay,

You don't need the leading "/" in the relative file path. With the 
defaultFolder set to the parent folder of Folder Name, you simply use "Folder 
Name/mySQLite.db" as the path.

Regards,

Devin

Devin Asay
Office of Digital Humanities
Brigham Young University


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to