D
Dominique Heyler
I have a form displaying data from a customer table. It includes a subform
for phone numbers (stored in a related table). I've figured how to get hold
of the data in text fields, but I'm having a real hard time finding out how
to access data from the subform. My code looks something like this:
Sub GetField()
Dim cField As Control
For Each cField In Me.Controls
'Text
If cFelt.ControlType = 109 Then
debug.print (cField.Value, "")
'Subform
ElseIf cField.ControlType = 112 Then
???
End If
Next
End Sub
Any idea how this can be done?
Dominique
for phone numbers (stored in a related table). I've figured how to get hold
of the data in text fields, but I'm having a real hard time finding out how
to access data from the subform. My code looks something like this:
Sub GetField()
Dim cField As Control
For Each cField In Me.Controls
'Text
If cFelt.ControlType = 109 Then
debug.print (cField.Value, "")
'Subform
ElseIf cField.ControlType = 112 Then
???
End If
Next
End Sub
Any idea how this can be done?
