PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV Mobile 2024 → Use SQL statements in WinDev Mobile 21
Use SQL statements in WinDev Mobile 21
Started by PhumeleleSJose, Apr., 27 2022 8:56 AM - 3 replies
Registered member
12 messages
Posted on April, 27 2022 - 8:56 AM
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?
Registered member
498 messages
Popularité : +8 (8 votes)
Posted on May, 04 2022 - 4:19 PM
Hi PhumeleleSJose

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

--
Best Regards
ARV
Posted on May, 04 2022 - 7:51 PM
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
Posted on May, 07 2022 - 3:01 AM
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.