Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.Fetch wont' retrieve the next record

Status
Not open for further replies.

oxie18

Programmer
Feb 17, 2015
40
CA
Hi,

What may cause the .Fetch to not to move to the next record in the view?

Code:
ds.Init
ds.Browse "", True

Do While ds.Fetch
[indent]Debug.Print ds.Fields("ORDUNIQ").Value[/indent]
Loop

The ORDUNIQ value stays the same on the next iteration. Please help. Thanks in advance.
 
If you're iterating through a grid you must disable the data source events or you can get odd behaviour.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top