Visual Inheritance Issues
-
Hello, I have three forms: frmCustomerTemplate, frmAddCustomer, and frmUpdateCustomer. frmAddCustomer derives from frmCustomerTemplate, and frmUpdateCustomer derives from frmAddCustomer. Diagram: frmCustomerTemplate --> frmAddCustomer --> frmUpdateCustomer I'm encoutering a problem where frmUpdateCustomer is not getting values from the fields that were defined on frmCustomerTemplate. For example, frmAddCustomer defines a Home Telephone textbox that was not declared on frmCustomerTemplate. When I do an update (using frmUpdateCustomer) I can only get the value from the Home Telephone textbox. All the other fields populate my variables with nulls, even though they are populated. All the controls on frmCustomerTemplate are declared as Protected. Any ideas why this is happening? Thanks, Andrew