I have a few stateless forms in my application that are similar in appearance, other than a few fields. Each one pulls similar data from different forms (tables).
Instead of tonnes of code for each form, I would like to populate the fields in this form using a few functions depending on the form being used.
An example of the some of the unbound forms would be something like this:
FieldName FieldType
EventID Number
Associate String
Agency String
My question is, what would the structure of the function look like to populate this? Each function would fetch the data from a different form (table), using the EventID as the fetched data criteria.
Thanks
Leo Saumure