PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Use SQL statements in WinDev Mobile 21
Use SQL statements in WinDev Mobile 21
Débuté par PhumeleleSJose, 27 avr. 2022 08:56 - 3 réponses
Membre enregistré
12 messages
Posté le 27 avril 2022 - 08:56
Hi

I'm developing an Android app with a SQLite database in WM21 but I can't find the way to execute SQL statements like ALTER TABLE.

Query editor don't suport this kind of statements, function HExecuteSQLQuery() declares this query to the HFSQL engine and fails, and SQLExec() doesn't work because SQLConnect() isn't avaliable in Android.

Exists any way to do this with WM21?
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 04 mai 2022 - 16:19
Hi PhumeleleSJose

Maybe you could use a stored procedure on your server that could help in a way

--
Best Regards
ARV
Posté le 04 mai 2022 - 19:51
First, you should use Hyperfile instead of sqllite, it's much more powerfull...

Second, if you really want to waste you time and energy, you can run your query using an hexecutesql instrcution, just add the hNOCORRECTION parameter...

if you query is correct for that db sql, it will work without any problem
Posté le 07 mai 2022 - 03:01
Hi argus.
I think that you are talking to a bot.
Same problem in the thread from "BettyRNorahDeniels".

I think that all threads from first page are all created by bots.

Regards,
José Antonio.