external stack not working correctly in standalone
Posted: Thu Nov 22, 2018 8:17 pm
I am using the example database library stack from https://www.youtube.com/watch?v=wXtKIyz0eRA&t=2708s to access a SQLite Database, and it works perfectly in the IDE, but when saved as a standalone I receive the attached error when attempting to connect to the database file.
This library stack is accessed using the Start using stack handler called from preOpenStack in the main stack. I am using 9.0.1. I do have the library (LibDB.livecodescript) stack in the standalone folder.
Any suggestions are welcome.
Thank you
This library stack is accessed using the Start using stack handler called from preOpenStack in the main stack. I am using 9.0.1. I do have the library (LibDB.livecodescript) stack in the standalone folder.
Code: Select all
on preOpenStack
set the itemDelimiter to "/"
Put the effective fileName of this stack into ltPath
Delete item -1 of ltPath
Put ltPath & "/LibDB.livecodescript" into ltPath
start using stack ltPath
end preOpenStack
Thank you