FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
HDeclareExternal IOS Problem
HDeclareExternal IOS Problem
Débuté par Lorenzo Sozio, 05 avr. 2019 15:11 - 2 réponses
Connectez-vous…
Lorenzo Sozio
#1
Posté le 05 avril 2019 - 15:11
hi,
i have a problem reading data from an external fic. My app use FTP to get a zip with data to update. When the app finished to transfer the zip, i extract all files in "import" dir located in the data dir of application.
So i have a Customer table in analysis and a Customer fic in my import folder.
My attempt is to declare a data source linked to my external fic Customer to reading it and update data in local Customer table.
The problem is that external fic it seems empty, but it isn't. ("I checked bytes of .fic .ndx .mmo files"). The same code in windev project, and using simulator of ipad in Windev Mobile works perfectly.
My code:
myDS is Data Source, description = Customer
ficFile is string = CompleteDir(fDataDir())+"import/Customer.fic"
IF not fFileExist(ficFile) THEN
Error("File not found:"+ficFile)
RETURN
END
IF not HDeclareExternal(ficFile,myDS) THEN
Error("Can't declare myds.")
RETURN
END
//it gives 0
info(HNbRec(myDS)+" Rec to update")
Signaler
0
0
Lorenzo Sozio
#2
Posté le 09 avril 2019 - 20:05
Solved. The problem was uppercase characters because IOS use only lowercase characters for files
Signaler
0
0
ARV
#3
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 10 avril 2019 - 15:12
Hi Lorenzo
just for let you know not only for iOS it also happend the same way with Android.
Goor Luck.
--
Best Regards
ARV
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