FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD20] what wrong with hOnError()
[WD20] what wrong with hOnError()
Débuté par ccc2, 23 jan. 2018 06:54 - 2 réponses
Connectez-vous…
ccc2
#1
Posté le 23 janvier 2018 - 06:54
Hi,
weird problem with this function .
I copy the code wd12 project to wd20 project. I just change table name
HOnError(Company,hErrDuplicates,err_dup)
hadd()
HOnError(Company,hErrDuplicates)
when i run test I keep getting the automatic management error . I couldn't find what the problem .
later I found the solution. I delete the paarameter hErrDuplicates and recreate then it work.
what the hell ? anyone get same strange problem
Signaler
0
0
GuenterP
#2
Posté le 23 janvier 2018 - 07:16
Hi, you have to consider that "constraints" (duplicates treatment is one of them) are written into the data file at creation time. Changing these parameters on the fly by programming may not have the intended impact on data?
Signaler
0
0
ccc2
#3
Posté le 25 janvier 2018 - 02:18
Hi Guenter,
it's not the constraint issues . after try and error , i found that hOnError() behave like dialog() problem when copy / paste the code. dialog() only give problem when copy paste between project.
it's not a big problem , I just type rather than copy paste.
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