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!

Move to new record in recordset on form load

Status
Not open for further replies.

NickBlake

Programmer
Nov 28, 2003
10
GB
Can anyone tell me the code to create a new record in a recordset whilst loading a form. I have tried the code "Data2.Recordset.addnew" but it gives me a run time 91 error object variable or with block variable not set.

Cheers Nick
 
Has the recordset been instantiated at that time? It might help if you provided some code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top