J
John C
I have just converted my databases to Access XP.
1 DB is used for data storage, the other (which will be
converted to MDE later) is the user interface program.
The code below worked in Access 97', but no longer places
the record into the database in Access XP.
Sub MyAddRecord()
Dim dbLog3 As Database, rcdEntry3 As Recordset
Set dbLog3 = CurrentDb()
Set rcdEntry3 = dbLog3.OpenRecordset("tblLogbook_U3")
rcdEntry3.AddNew
With rcdEntry3
![EntryDate] = Me.txtDate
![EntryTime] = Me.txtTime
![Shift] = Me.Shift
![Entry] = Me.txtEntry
![System] = Me.SystemList
End With
rcdEntry3.Update
End Sub
1 DB is used for data storage, the other (which will be
converted to MDE later) is the user interface program.
The code below worked in Access 97', but no longer places
the record into the database in Access XP.
Sub MyAddRecord()
Dim dbLog3 As Database, rcdEntry3 As Recordset
Set dbLog3 = CurrentDb()
Set rcdEntry3 = dbLog3.OpenRecordset("tblLogbook_U3")
rcdEntry3.AddNew
With rcdEntry3
![EntryDate] = Me.txtDate
![EntryTime] = Me.txtTime
![Shift] = Me.Shift
![Entry] = Me.txtEntry
![System] = Me.SystemList
End With
rcdEntry3.Update
End Sub