Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field validatiojn rule on cTableBehavior
Message
De
05/01/2000 18:06:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Field validatiojn rule on cTableBehavior
Divers
Thread ID:
00313572
Message ID:
00313572
Vues:
72
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
Fil
Voir

Click here to load this message in the networking platform