Hi,
I will attach you one screenshot of where is my database...
What do you want to see exactly? Which script?
This is what i have in the beginning of my program:
On OpenCard
global mypath
put the effective filename of this stack into mypath
set itemdel to "/"
## remove filename of runtime/stack:
delete item -1 of mypath
put "/Documents/GestComp.sqlite" AFTER mypath
set enabled the button "btnConfig" to false
put CmpExist("VGestComp") into numb
if numb = 0 then
set enabled the button "btnConfig" to true
end if
end OpenCard
These are another methods i use:
command databaseConnect
local tDatabasePath, tDatabaseID
global ruta
put ruta into tDatabasePath
put revOpenDatabase ("sqlite",tDatabasePath,,,,) into tDatabaseID
setDatabaseID tDatabaseID
end databaseConnect
command setDatabaseID pDatabaseID
put pDatabaseID into sDatabaseID
end setDatabaseID
function getDatabaseID
return sDatabaseID
end getDatabaseID
function CmpExist theData
databaseConnect
put getDatabaseID() into tDatabaseID
put revDataFromQuery(tab,return,tDatabaseID,"SELECT " & theData & " FROM VGest_Comp ") into theResult
return theResult
end CmpExist
I hope it is useful and you can know why...
Is it normal that it is working in the iOS simulator and not in my Ipad?
Regards