I love that. It looks SO much easier than what I thought I had to do.
I'm having some difficulties with it though. Still VERY new to all of this. Can you see what I'm doing wrong?
I went into the table that feeds the "Entity Type" field, and added the name of the appropriate subform to the column after the type name. So that only the type name would appear in the combo box, I then went and changed the sizes to 0;1;0. Then I entered this code:
Code:
Option Compare Database
Private Sub ctlEntType_AfterUpdate()
'Make appropriate subform appear based on entity type selected.
subfrmSpecifics.SourceObject = ctlEntType
End Sub
My naming system is probably weird. "ctlEntType" is the combo box, and "subfrmSpecifics" is the subform space on the form.
Is it maybe a problem that my subform space is unbound? Since I want it to switch between a number of different subforms, I didn't think I should bind anything, but is that wrong maybe?