I've got a small VBA app that needs to move through records in a table from an access database, and display them in textboxes.
When I move to the next record I have the following code setup to do so:
'The Next Button:
With MyRecordSet
.MoveNext
If .EOF = True Then
.MoveLast
End If
End With
LoadTextBoxes
The above works when I move from the first entry to the second entry. However if I attempt to move from the second entry to the third entry, it won't work. It loads the second entry again.
There are currently 10 records in the table its getting data from.
Any ideas on how I can get it moving from the current record to the next?
I don't understand why people keep insisting on Chrome? Why is it so damn hard to just switch to Firefox? Or if you really can't let go Chromium, there's Vivaldi or Brave, alternatively even Opera. They all have built-in adblock that doesn't give a s**t about Google's rules. But ultimately, just go with Firefox. I never have any issues with webpages and with those that I do are usually broken because of my extensive ad and trackers blocking and not because Firefox in itself wouldn't work with those pages. And even those are super rare.
Was it EA that tried this before? Something about the sports games and their banners being constantly updated in the game? And didn't we balk at that the first time round?
Ah well, keep pushing until your tunnel collapses I guess.
Apple should release a rumour that they are going to make their next flagship a circle so that Samsung can copy it quickly and release it "before Apple do as we are visionaries!!!11 /drool"
Question
shockz
I've got a small VBA app that needs to move through records in a table from an access database, and display them in textboxes.
When I move to the next record I have the following code setup to do so:
The above works when I move from the first entry to the second entry. However if I attempt to move from the second entry to the third entry, it won't work. It loads the second entry again.
There are currently 10 records in the table its getting data from.
Any ideas on how I can get it moving from the current record to the next?
Thanks :)
Link to comment
https://www.neowin.net/forum/topic/848892-vba-moving-through-record-set-problem/Share on other sites
3 answers to this question
Recommended Posts