fuqr Messages: 16 Registered: July 2007 Location: Singapore
Promising Member
Thanks bytefield,
You are right the problem is the DB session is created in GUI_APP_MAIN.
Acturaly what I tried is the following:(simple way )
===============================================
String filenameas; // I put in global variable: *.h
GUI_APP_MAIN
{
......
String filename = fs;
FileIn fi(filename);
filenameas = filename; // failed line ???
......
}
===================================================
To open different DB file I didn't use *.cfg file.
Thanks for your help!