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

Cant get .Edit to Work

Status
Not open for further replies.

tfayer

Technical User
Aug 4, 2002
41
US
When I run my module that contains the .Edit command it gives me a compile error and then highlights the .Edit.

With rs
.Edit
!LastName = strLast
!FirstName = strFirst
!MI = strMI
.Update
.MoveNext
End With
 
What version are you using.If you are running A2002, get rid of the .Edit line and try it. I don't have 2002 but I read somewhere that 2002 doesn't use that method. If you are using some other version, try posting the rest of the code.

Paul
 
If it is an ADO recordset there is no need for the .edit It is only used with DAO recordsets.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top