PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 27 → Use SQL statements in WinDev Mobile 21
Use SQL statements in WinDev Mobile 21
Iniciado por PhumeleleSJose, abr., 27 2022 8:56 AM - 3 respostas
Membro registado
12 mensagems
Publicado em abril, 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?
Membro registado
491 mensagems
Popularité : +8 (8 votes)
Publicado em maio, 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
Publicado em maio, 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
Publicado em maio, 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.