G
Guest
I'm trying to add a new record to a table from data selected in a form in VB.
I can successfully select entries from 2 lists. I now want to add those
selections to as a new record in an existing schedule table.
When using example code in my AddSchedButton_Click sub such as:
Dim db as Database
Dim rs as Recordset
Set db = CurrentDB()
to prepare to open the sched table to add the record to, I get a syntax
error for the word "Database."
"Database" is not an available keyword in the list when I enter "Dim db As"
I'm using Access 2000 with VB 6.3.
I can successfully select entries from 2 lists. I now want to add those
selections to as a new record in an existing schedule table.
When using example code in my AddSchedButton_Click sub such as:
Dim db as Database
Dim rs as Recordset
Set db = CurrentDB()
to prepare to open the sched table to add the record to, I get a syntax
error for the word "Database."
"Database" is not an available keyword in the list when I enter "Dim db As"
I'm using Access 2000 with VB 6.3.