
Run-Time Error '2950' - Reserved Error
I keep getting the following message when i try and run my app :
Run-time error '2950' :
Reserved Error
What does this error mean? I only get this error when i decide to add the
following line during the event where i create a new record
(ADODB.Recordset.AddNew)
my_form.Text1(7).Text = DLookup("CurrentExchangeRate",
"ControlMaster")
What i want it to do is on my_form, change the text in the 8th textbox of my
control array Text1( ) to lookup the value in "CurrentExchangeRate" field in
the "ControlMaster" table. I managed to get it to work a few times. But then
it started throwing up the Runtime error. If I omit the line, the app works
fine without the changes of course, but i would really like for it to
automatically add the value in the ControlMaster table to my textbox so that
each new record created has a default value which was taken from teh
ControlMaster table.
My code seems write to me, so if anyone can shed light on what the runtime
error 2950 is, maybe i can figure out whats my problem.
i also have the following line before the above Dlookup line, but Im not
sure if it is related to the error.
my_form.Text1(1).Text = Date
Thanks!