Run-Time Error '2950' - Reserved Error 
Author Message
 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!



Mon, 03 May 2004 18:03:14 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

2. Run-time error '-2147417846 (8001010a)': Automation error (error 440)

3. Run-time error '-2147221231 (80040111)': Automation error ClassFactory cannot supply requested class

4. Run-time error '31037': Error load form file

5. Run-time error '50003' Unexpected Error

6. run-time error '713': Application-defined or object-defined error

7. rvbrewiz - Run-time error '-2147417851 (80010105)': Automation error

8. Run-time error '50003': Unexpected error

9. Run-time error '429': ActiveX component can't create object

10. Run-Time Error '429': ActiveX component can't create object

11. Run time error '429': ActiveX component can't create object

12. Run-time error '429': ActiveX component can't create object

 

 
Powered by phpBB® Forum Software