Hi DAW
Currently the Studio understands local validation objects/tables declared within a DD source file and displays it in the "Validation Object" drop-down list as below:
The problem is it doesn't display non-standard validation objects/tables or even global Validation tables.
My suggestion is have a command or a meta-tag that the studio would understand that adds these validation tables to the list.
Here's an example:
Code:
Object DD_YesNo_VT is a DescriptionValidationTable
Set Allow_Blank_State to True
Procedure Fill_List
Forward Send Fill_List
Send Add_Table_Value "Y" "Yes"
Send Add_Table_Value "N" "No"
End_Procedure
End_Object
Because "DD_YesNo_VT" is a 'global' validation table in its own pkg file the studio doesn't add it to the "Validation Object" dropdown list, but if we had a Register_Validation_Object DD_YesNo_VT within the DD class it probably could; Or possibly a meta-tag that the studio would understand.
We also have custom "local" validation tables/objects which is a subclass of FileValidationTable - the studio doesn't add these objects to the list either.
I understand that the studio would be unable to model these objects but adding them to a list of 'valid' validation tables/objects would really help.
Thanks.