im new livecode user and i got some problems...
i use livecode 7.0 and i'm trying to create an app for android smartphone.
i created a sqlite database and i tried to use it with live code.
On my computer, it work fine, but when i test it on my device (samsung s5) , i can connect to the databse but when i try to display the content with this code :
Code: Select all
put "SELECT * FROM '"&Z&"';" into X
put revDataFromQuery(, , idBdd, nomTable) into Y
put Y into the field "a field"
with Z a table
more explications:
but when im testing my app on android, it display one table for all button...i have 4 button, when i press 1, it goes on the next card and display ( into a field named "choix") all informations about a table (i have 4 differents tables).
when i test the app on my computer, it work fine and every time i press a buton => i go to the next card (named "list" for exemple) and display the good table on the field "choix", then i press a button "return" to back to the previous card and then i press an other button and it goes to the card "list" and it displays an other table into the field "choix" and it's what i want.
i can press every button, the content in the field won't change, i searched for a solution during a long time and finally i decided to ask for some help in the forum.
thanks for helping me, i apologize for my terrible english and for asking help..