General information
Category:
The Mere Mortals Framework
Title:
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only