atadbitslow
Programmer
Ques: I get a type mismatch error after the openrecordset command.....why?
Private Sub addnewrecord() '(byval rst as Recordset, strinput as String)
Dim db As Database
Dim rs As Recordset
Dim strinput As String
Dim strmsg As String
Dim varx As Variant
Dim mymsg As String
Dim dq As String
Set db = CurrentDb
Set rs = db.OpenRecordset("variables")
****
You may need more information....?
Variables is a table with an autonumber and 2 text fields.
Thanks!
Private Sub addnewrecord() '(byval rst as Recordset, strinput as String)
Dim db As Database
Dim rs As Recordset
Dim strinput As String
Dim strmsg As String
Dim varx As Variant
Dim mymsg As String
Dim dq As String
Set db = CurrentDb
Set rs = db.OpenRecordset("variables")
****
You may need more information....?
Variables is a table with an autonumber and 2 text fields.
Thanks!