No, you cant just do a .MoveNext without evaluating which record the recordset is on.
VB Code:
rst.MoveFirst Do While rst.EOF = False If UserForm1.txtQty.Text = rst.Fields("Item_Code").Value Then Exit Do End f rst.MoveNext Loop
|
Results 1 to 40 of 52
Threaded View
|
Click Here to Expand Forum to Full Width |