subform control reference fails
- From: Imran J Khan <ImranJKhan@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 2 Oct 2009 07:01:08 -0700
I have prexisting precedure with code to requery subforms:
frmSLSDetailSelect.Form.Requery
It used to work fine.
But now, after adding more code to change the color of some controls in
subforms that caused problems between the name of the subform control and the
subform name (control name "frmSlsDetail" and form name
"frmSlsDetailSelect"), changed the subform control name so it is the same as
the form name. The color change code works great, but now the code to requery
subforms fails with error
You entered an expression that has an invalid reference to the property
form/report.
I don't know what to do. Changing the subform and subform control name so
they are different does not help. I have already read the link
http://www.mvps.org/access/forms/frm0031.htm
But perhaps don't know how it can help me.
Imran
.
- Follow-Ups:
- Re: subform control reference fails
- From: Marshall Barton
- RE: subform control reference fails
- From: Imran J Khan
- Re: subform control reference fails
- Prev by Date: Re: Code works in 2003 not 2007
- Next by Date: RE: subform control reference fails
- Previous by thread: Re: ComboBox Problem... Please, help me out!
- Next by thread: RE: subform control reference fails
- Index(es):
Relevant Pages
|