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!

Editing and Updating

Status
Not open for further replies.

GPIT

Programmer
Nov 7, 2003
3
US
Hello all,
I am using the following code to update a record in a table, but instead of updating the record it is adding a new record.
-------------------------------------------------
With rstMillData
rstMillData.Edit
rstMillData!ReleaseNo = vReleaseNo
rstMillData.Update
End With
-------------------------------------------------
Thanks.
 
Could you possibly use the Fields property, eg

rstMillData.Fields(0).Value =x

So the current record level under the 1st field would be given the value x.

dyarwood
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top