Using b4a for the very first time and developing a database module ( to hide complexity) i had a first problem with method inicialize . I have a database in /extsd/bases_exp/pupils_ejaf.db.
Using inicialize method of sql the program does not see that database and if (in the last parameter i put true to create if it does not exits) the database is created!
however if i rename that database to say for exemple "pupilsejaf" without the underscore then inicialize do recognize it and open! why?
Another problem is when i make a realease version of the program. At compile time nothing wrong (in debug or realease mode). in debub mode the program works. i write a class number, click a button that has the task to fill a mcombobox with the names of pupils. however in realease mode, after writing the class number and click the button to fill i'v got the message "the app stop responding ok....".
But if i use a msgbox just before the call to inicialze then the program works???? why?
thanks
Using inicialize method of sql the program does not see that database and if (in the last parameter i put true to create if it does not exits) the database is created!
however if i rename that database to say for exemple "pupilsejaf" without the underscore then inicialize do recognize it and open! why?
Another problem is when i make a realease version of the program. At compile time nothing wrong (in debug or realease mode). in debub mode the program works. i write a class number, click a button that has the task to fill a mcombobox with the names of pupils. however in realease mode, after writing the class number and click the button to fill i'v got the message "the app stop responding ok....".
But if i use a msgbox just before the call to inicialze then the program works???? why?
thanks