In this command: put pDatabaseID into sDatabaseID_med
It assumes the variable is a script local named sDatabaseID_med. Have you declared that at the top of the script? I don't think the problem is in the app installation, this sort of thing is almost always a script error.
Invalid Connection ID SQLite
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 7235
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Invalid Connection ID SQLite
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 28
- Joined: Fri Jan 24, 2020 6:44 am
Re: Invalid Connection ID SQLite
I think I figured out what the issue is. I was adding a "," after revExecuteSQL and there should not be one. GEEEEEEZ!
"revExecuteSQL, tDatabaseID, tSQL"
"revExecuteSQL, tDatabaseID, tSQL"
Re: Invalid Connection ID SQLite
Glad you could solve your problem!
Hint:
If you do not have an ELSE case:
...
there is no need to write ELSE
Hint:
If you do not have an ELSE case:
...
Code: Select all
if this_or_that then
do this
else
end if
...
Code: Select all
...
if this_or_that then
do this
end if
...
-
- Posts: 28
- Joined: Fri Jan 24, 2020 6:44 am
Re: Invalid Connection ID SQLite
Great tip! I just assumed you had to include the entire if/else format....I am just used to writing it that way or I just use a switch. Old habits die hard! Thanks for all your help everyone and especially you Klaus!