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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUN TIME ERROR 424

Status
Not open for further replies.

villica

Programmer
Joined
Feb 25, 2000
Messages
332
Location
CA
I am getting the above error. The help is not very clear as to what this error means. I am getting this error on this line

Do Until rstpno.EOF = True Or rstpno!pno Is Not Null

rstpno is my recordset
pno is a field on my table.





Private Sub Command0_Click()
Dim dbs As Database, rstpno As Recordset
Set dbs = CurrentDb
Set rstpno = dbs.OpenRecordset("table1", dbOpenDynaset)

rstpno.MoveFirst
Do Until rstpno.EOF = True Or rstpno!pno Is Not Null

' Do Until (rstpno!pno Is Not Null)


DoCmd.OpenQuery "getpno", acViewNormal
DoCmd.OpenQuery "updpno", acViewNormal

Loop

End Sub villica
 
sorry I figure it out. I found help on another thread posted here. villica
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top