K
Ken
I've got three books on programming ADO, and I don't see a clear cut and
dry way to populate a form with a recordset.
I have populated a test form. but I'm not sure how it happened. I used:
For Each Ctl In Me
vartemp = Rst.Fields(Ctl.Name).Name
If Ctl.Enabled Then
Ctl.Value = Rst.Fields(Ctl.Name).Value
End If
Next
from one of the books but I'm not sure what "Rst.Fields(Ctl.Name).Name"
does. I know that the Rst is the record set I opened, but when I put the
period after fields, it isn't in the list.
Any pointers are greatly appreciated.
dry way to populate a form with a recordset.
I have populated a test form. but I'm not sure how it happened. I used:
For Each Ctl In Me
vartemp = Rst.Fields(Ctl.Name).Name
If Ctl.Enabled Then
Ctl.Value = Rst.Fields(Ctl.Name).Value
End If
Next
from one of the books but I'm not sure what "Rst.Fields(Ctl.Name).Name"
does. I know that the Rst is the record set I opened, but when I put the
period after fields, it isn't in the list.
Any pointers are greatly appreciated.