I have installed the SalesBuilder version 1 application which does not have the iLog Components nor does it include the SQLite encryption. I am trying to locate the SQLite database so that I can manage the tables. Does the original SalesBuilder v1 application use the SQLite or does it use StoredObjects? I still needs to have the original request answered, however, this optional workaround is a temporary solution. I have downloaded and installed Lita to help manage the SQLite, but I cannot locate the SQLite database used for the SalesBuilder v1 application. Any ideas?
I have installed Lita and created a salesbuilder.db file with the appropriate tables and structure as displayed in the createtables.xml file. I also have saved the salesbuilder.db file into the src folder and to the bin-debug folder within Flex, but I still cannot make a connection to the database. The application continues to use the inherent xml files. The code in the salesbuilder.mxml file relating to the database is as follows:
private var sqlConnection:SQLConnection;
private function initApp():void
// Open a connection to the local database. We keep that connection opened and
// use it through the course of this application. app-storage:/
sqlConnection = new SQLConnection();
var file:File = new File("app-storage:/salesbuilder.db");
// Create tables if they don't already exist
var sqlUtil:SQLUtil = new SQLUtil();
sqlUtil.executeBatch(File.applicationDirectory.resolvePath("data" + File.separator + "createtables.xml"), sqlConnection);
TabManager.tabNavigator = tn;
So, the area that I am looking at in this code is var file:File = new File("app-storage:/salesbuilder.db");
Where do I save and store the salesbuilder.db file? I do not know what the app-storage:/ location is. Can anyone help?
I am getting an error "updaterInitializedHandler" on the application...