E
Erik T
I am trying to add data into my table and am not sure of the correct syntax.
Also, I am not sure if I used the correct syntax in opening a table -
dbOpenDynaset. Here is a sampling of my code.
Dim rstRaceHeader As DAO.Recordset
Set rstRaceHeader = dbs.OpenRecordset("tblRaceHeader", dbOpenDynaset)
Dim RaceDate As String
Dim TotalRaces As Integer
' Where Race_Date and Total_Races are fields in tblRaceHeader
With rstRaceHeader
Race_Date = RaceDate
Total_Races = TotalRaces
End With
Thanks for looking at this code. I realize that this is a basic question but
your reply could aid an old programmer.
Also, I am not sure if I used the correct syntax in opening a table -
dbOpenDynaset. Here is a sampling of my code.
Dim rstRaceHeader As DAO.Recordset
Set rstRaceHeader = dbs.OpenRecordset("tblRaceHeader", dbOpenDynaset)
Dim RaceDate As String
Dim TotalRaces As Integer
' Where Race_Date and Total_Races are fields in tblRaceHeader
With rstRaceHeader
Race_Date = RaceDate
Total_Races = TotalRaces
End With
Thanks for looking at this code. I realize that this is a basic question but
your reply could aid an old programmer.