The data field, memo field, and data form structures contain a member in which you can specify a pointer to the data of your choosing. This member is called the user pointer. The user pointer that you install can be a structure or array, thereby associating large amounts of data with the field or form. This user pointer allows you to reference form-specific or field-specific data within your validation functions.
Installing a User Pointer in a Field or Form
Accessing the User Pointer for the Current Field or Form