FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Use SQL statements in WinDev Mobile 21
Use SQL statements in WinDev Mobile 21
Débuté par hectorbadenes, 19 mai 2016 17:53 - 2 réponses
Connectez-vous…
hectorbadenes
#1
Posté le 19 mai 2016 - 17:53
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?
Signaler
0
0
Sebastian Arnold
#2
Membre enregistré
102 messages
Popularité : +2 (2 votes)
Posté le 31 mai 2016 - 12:32
Hector,
I tried to find a solution. But I couldn't. Seems like you can't change a SQLite data file structure. Not with an SQL statement nor with HDescribeItem. Maybe you can use some pure Java code somewhere to do this.
--
http://arnoldconsult.de
WinDev 20 with Oracle, WinDevMobile Android Apps and Motorola Windows CE Mobile Barcode Scanners, Python 3 with Oracle and MySQL
Signaler
0
0
Fabrice Harari
#3
Posté le 31 mai 2016 - 19:49
Hi
actually, I know for a fact that you can do alter tables on SQL lite in
android with windev mobile, as this solution has been discussed on the
french forums.
As I'm using only HF, I don't have any direct knowledge of the how, but
if you REALLY want to use SQLlite instead of HF, it's possible.
Best regards
--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International
Plus d'information sur
http://fabriceharari.com
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte