Re: Path to database
Posted: Sun Sep 29, 2019 6:30 pm
Well through this script
there was actually a database file but it was empty and contained no tables. Now with the 'Copy file' setting, the database file with all its tables is available.
Code: Select all
on openStack
put specialfolderpath("home") & "/newfolder" into targetFolder
if there is not a folder targetFolder then
create folder specialfolderpath("home") & "/newfolder"
end if
put specialfolderpath("resources") & "/db_test" into tSourceFile
put specialfolderpath("home") & "/newfolder/db_test" into tTargetFile
if there is not a file tTargetFile then
put URL("binfile:" & tSourceFile) into URL("binfile:" & tTargetFile)
end if
end openStack