Hi,
I'm trying to get all values of a field from a subform in datasheet view using the following code:
MS Access just hangs up and ends abruptly due to the code above. Any ideas?
I'm trying to get all values of a field from a subform in datasheet view using the following code:
Code:
Dim rs As DAO.Recordset
Set rs = Me.sbfrmMySubForm.Form.RecordsetClone
Do While Not rs.EOF
strMyValues = "" & Forms!frmMyMainForm!sbfrmMySubform!MyField & ""
Loop
MS Access just hangs up and ends abruptly due to the code above. Any ideas?