FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD20] HFSQL - Compare structures of Analysis File and Physical File
[WD20] HFSQL - Compare structures of Analysis File and Physical File
Débuté par DannHCS, 04 mai 2016 14:50 - 2 réponses
Connectez-vous…
DannHCS
#1
Posté le 04 mai 2016 - 14:50
Hi,
is there a function or a method to check if the structure of the physical file is the same of the description in analysis?
I use HCreationIfNotFound and crashes because of the different structure.
Thanks,
Dann
Signaler
0
0
Paulo Oliveira
#2
Posté le 04 mai 2016 - 14:59
try with HCheckStructure function
Signaler
0
0
Steven Sitas
#3
Posté le 04 mai 2016 - 18:38
Hi Dann,
The following code will catch the different structures:
WHEN EXCEPTION IN
HCreationIfNotFound("*",hChangeCharset)
DO
SWITCH HError()
CASE 70016:
Info("Data needs reorganization")
// here you can add code to reorganize data //
EndProgram()
OTHER CASE:
Error("HFSQL error: " + HError())
EndProgram()
END
END
Signaler
0
0
→ Revenir à WINDEV 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