I need to determine if a SQLite db exists or is accessible. I don't want to just create it if it doesn't, but instead prompt the user before creating it.
I've searched around a bit, and can't figure out how to do this. Any help is greatly appreciated.
Only determine of SQLite DB exists or is accessible
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Only determine of SQLite DB exists or is accessible
Hi bmcgonag,
that's an easy one:
Best
Klaus
that's an easy one:
Code: Select all
...
put "path/to/presumed/database.db" into tDBFile
if there is NOT a file tDBFile then
## db file not present, take action!
end if
...

Best
Klaus
Re: Only determine of SQLite DB exists or is accessible
Perfect! You Rock!