ThatDougGuy
Registered User.
- Local time
- Today, 23:13
- Joined
- Feb 25, 2001
- Messages
- 10
I need to open one table read the records in a loop, but in the middle if the loop i will need to write the data to another table after i work with it. I'm not sure what to do.
'Open txtTable For Input As 1
DoCmd.OpenTable txtTable, , acReadOnly
Recordset.MoveFirst
Do Until EOF(1)
Select Case cboNewFormat
case statments
call Save
End Select
Recordset.MoveNext
Loop
End Sub
Private Sub Save()
Open NewDateTable For Output As 2
Recordset.AddNew
End Sub
'Open txtTable For Input As 1
DoCmd.OpenTable txtTable, , acReadOnly
Recordset.MoveFirst
Do Until EOF(1)
Select Case cboNewFormat
case statments
call Save
End Select
Recordset.MoveNext
Loop
End Sub
Private Sub Save()
Open NewDateTable For Output As 2
Recordset.AddNew
End Sub