Kbase P83287: How to suppress data dictionary field validation in an ADM2 SmartDataObject?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/08/2004 |
|
Status: Unverified
GOAL:
How to suppress data dictionary field validation in an ADM2 SmartDataObject?
FACT(s) (Environment):
Windows
FACT(s) (Environment):
Progress 9.x
FACT(s) (Environment):
OpenEdge 10.x
FIX:
In the 'Customer' table of the Sports2000 demo database, the 'CreditLimit' field has the following data dictionary defined field validation expression:
'CreditLimit >= 0 AND CreditLimit <= 9999999'
and the following data dictionary defined field validation message:
'Credit Limit must be >= 0 and <= 9,999,999'
The following steps demonstrate how to suppress the field validation of the 'CreditLimit' field when creating a SmartDataObject against the 'Customer' table:
1. File -> New -> SmartDataObject -> OK
2. Next
3. Define Query
4. Customer -> Add -> OK.
5. Next
6. Add Fields
7. Add -> CustNum, Name, CreditLimit -> Add -> OK
8. Select the 'CreditLimit' field and choose the 'Advanced' button
9. Uncheck the 'Inherit Dictionary Validation Expression' option
10. OK
11. OK
12. Next
13. Finish
14. File -> Save -> mySDO.