Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field validatiojn rule on cTableBehavior
Message
From
05/01/2000 18:06:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Field validatiojn rule on cTableBehavior
Miscellaneous
Thread ID:
00313572
Message ID:
00313572
Views:
73
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
Map
View

Click here to load this message in the networking platform