Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Field validatiojn rule on cTableBehavior
Method ErrorFieldRule of the business object is obtaining a field number through the next code:
lnFieldNum = laError[5] && (array laError assigned through the aerror() function)
However, this field number does not match the field number in which the validation rule is being violated. Error number here is 1582.
I wonder if the field number in position 5 of the laError array matches the position on the base table and not the field position of the cursor, since fields order on the cursor is not the same as the order in the base table.
Any tips welcome.
Thanks in advance and regards.
Oscar
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement