- Local time
- Today, 15:57
- Joined
- Aug 30, 2003
- Messages
- 36,272
Fixing Adam's code is fairly easy. Add this line at the beginning:
Dim strSQL As String
Add this line before going to a new record:
strSQL = "SELECT * FROM Orders WHERE OrderID = " & Me.orderid
and change the Set line to
Set rs = CurrentDb.OpenRecordset(strSQL, dbOpenDynaset)
I believe that should work.
Dim strSQL As String
Add this line before going to a new record:
strSQL = "SELECT * FROM Orders WHERE OrderID = " & Me.orderid
and change the Set line to
Set rs = CurrentDb.OpenRecordset(strSQL, dbOpenDynaset)
I believe that should work.