Heidestrand
Registered User.
- Local time
- Today, 09:20
- Joined
- Apr 21, 2015
- Messages
- 73
Hello,
I want to update a table and created an update procedure to do that:
The only thing is: I want to start updating with the second record set after I found a match. Is there a function to do that? I already tried .MoveNext, .FindNext, .NextRecordSet before .Edit, but nothing worked 
So when he finds a record set, he should move on to the second one and start updating from here.
Any ideas?
I want to update a table and created an update procedure to do that:
Code:
If Not rstDaten.NoMatch Then
DoEvents
Do While (varOrderNumber = ![sapsys_SAPNr] And ![sapsys_KMATID] = varMatID)
If ![sapsys_date] <> rstDaten![Kalendertag] And ![sapsys_KMATID] = rstDaten![MaterialID] Then
.Edit
![sapsys_date] = rstDaten![Kalendertag]
.Update
End If
DoEvents
.MoveNext
So when he finds a record set, he should move on to the second one and start updating from here.
Any ideas?