Thanks Klaus for your condelences.
When I wrote you I had not seen the property true and false (Table1.LoadSQLiteDB).. and when you replied me, I had solved. In any case, thanks.. these days are being very difficult to me
Now I have other problem;
I have a DB, "PasivosMineros.sqlite" without data. I want to copy its structure in a new DB. When I begin the application, I give name to the new DB, in function of one paremeter, in this case, DBFileName is "PasivosMineros_02.sqlite"
If newCampaña=True Then
DBFileName="PasivosMineros_" & txtTABLET.Text & ".sqlite"
Log(DBFileName) ''"PasivosMineros_02.sqlite"
If File.Exists(File.DirDefaultExternal,"PasivosMineros.sqlite") =False Then
DBFileDir=DBUtils.CopyDBFromAssets("PasivosMineros.sqlite")
File.Copy(File.DirAssets, "PasivosMineros.sqlite", File.DirInternal, DBFileName)
End If
end if
The error indicates that not found "PasivosMineros.sqlite" and this DB is in the folder. Of course, "PasivosMineros_02.sqlite" is not create.
Best regards
