refering to a controll in another form.

Ankarn

Registered User.
Local time
Today, 10:15
Joined
Jul 4, 2008
Messages
81
Forms!AddNew!Tpe.Requery
Forms!Mainsearch!Tpe.Requery

Tpe are combos in both Addnew and mainsearch.

there is no form-subform relationship here.

This should be right according to this.
http://www.mvps.org/access/forms/frm0031.htm

I get "cannot find Form Addnew as reffered to.".

Why?
 
I believe my problem is that the forms i'm reffering to is not open. Does it have to be open?
 
If your forms are not open then you do not need to requery them, because when you open your combos will be already updated.
 
Yeah. I realized that after a while. If they should not be open i use "On Error Resume Next"
 

Users who are viewing this thread

Back
Top Bottom