Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form_Current Error Number 0

Status
Not open for further replies.

dpimental

Programmer
Jul 23, 2002
535
US
All, I need to have 3 combo boxes to requery based on the value of another combo box on each current record.

When I use the Form_Current procedure and call a public function to requery the combo boxes, I get an error with an error number of 0, but not error description.

I am using the following to call the function
Call RefreshCombos

And the function is a public function with no parameters.
I try to trap the errors; but the "0" comes up before getting to the error?

Any idea what is going on.
Ts this something that I can use the Form_Current procedure for?

David Pimental
(US, Oh)
 
Why a function instead of a sub if you don't expect any return value ?
Anyway, what is the code of RefreshCombos ?

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
I just figured out what it was. I was reading another post here and someone suggested that you make sure that the source combo was not null and it was.

thanks

David Pimental
(US, Oh)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top