Hy,
I'm totaly new in Access VBA, and i'm trying to create a macro that inserts a Record to a table i created
Retreived Data is the name of my table.
This macro is not inserting a record, can anyone help me with it?
Thanks again...
I'm totaly new in Access VBA, and i'm trying to create a macro that inserts a Record to a table i created
Code:
Sub insertRecord()
With Application.CurrentDb.OpenRecordset("Retreived Data")
.AddNew
!NUMBERPRGN = "C05555"
!TH_STATUS = "New"
!SYSMODTIME = Now
!DATE_ENTERED = Now
.Update
.Bookmark = .LastModified
End With
End Sub
Retreived Data is the name of my table.
This macro is not inserting a record, can anyone help me with it?
Thanks again...