Showing posts with label UDF. Show all posts
Showing posts with label UDF. Show all posts

Saturday, May 24, 2008

Lesson 6 : Learn UDF, How to Use UDF

Defining a UDF

Users can define Fields which have a storage component defined. User Defined Fields (UDF) can
be of type String, Amount, Quantity, Rate, Number, Date and Logical .

[System: UDF]
Name of UDF: Type of UDF: Index Number: Is Repeatable

All User Defined Fields must be defined at the System level. The programmer has to give a unique name to the UDF, by which it will be accessed. For every UDF, an index number has to be provided

[System: UDF]
MyUDF : String : 3

[Field: NewField]
Use : NameField
Storage : MyUDF ;;--------- To store the value

[Field: MyField]
Use : NameField
Set as : $MyUDF ;;--------- To retrieve the value