brorick
09-28-2009, 08:31 PM
Does anyone know how to mimic the Form Wizard in Access using VBA. I have a FormTemplate Table with the following fields and data. The field name is to the left of the colon and the comma seperates each record within the table for that column.
FormID: 1, 1, 1, 1, 1, 1
Required: No, No, Yes, No, No, No
FieldName: DateAdded, ProdType, ProdName, Cost, Discontinued, Notes
Caption: Date Added, Type, Product, , ,
DataType: Date/Time, Text, Text, Currency, Yes/No, Memo
Format: Short Date, , ,Currency, Yes/No,
DisplayControl: ,Check Box,,,,
DefaultValue:,Fruit,,,No,
I would like the option to use a Custom Form Wizard that would allow me to select the FormID I would like to base the form on and the wizard would go through the FormTemplate table and create the controls on the form accordingly.
Any help would be greatly appreciated. : pray2: Thank you in advance.
FormID: 1, 1, 1, 1, 1, 1
Required: No, No, Yes, No, No, No
FieldName: DateAdded, ProdType, ProdName, Cost, Discontinued, Notes
Caption: Date Added, Type, Product, , ,
DataType: Date/Time, Text, Text, Currency, Yes/No, Memo
Format: Short Date, , ,Currency, Yes/No,
DisplayControl: ,Check Box,,,,
DefaultValue:,Fruit,,,No,
I would like the option to use a Custom Form Wizard that would allow me to select the FormID I would like to base the form on and the wizard would go through the FormTemplate table and create the controls on the form accordingly.
Any help would be greatly appreciated. : pray2: Thank you in advance.