I've been trying to straighten this bug for a couple days now, and I can't figure out what is wrong.
It's probably something simply. What I've been trying to do is have a Data control named tempData that will open
an Access database file I've created earlier in the program. And add some records to it.
But whenever I run the code, I get an error message at addNew
"run-time error '91': Object variable not set"
Is there something I have to do to tempData before I can add records to it? 1001100 1110101 1101011 1100101
It's probably something simply. What I've been trying to do is have a Data control named tempData that will open
an Access database file I've created earlier in the program. And add some records to it.
Code:
tempData.DatabaseName = App.path & "\temp.mdb"
tempData.Refresh
tempData.Recordset.AddNew
"run-time error '91': Object variable not set"
Is there something I have to do to tempData before I can add records to it? 1001100 1110101 1101011 1100101