Error in report pls help

G

Guest

Dear friends,

I receive an error msg "Microsoft Access can't find the field 'unitweight'
referred to in your expression" allthough the field is there and belongs to
the record source.
When I run the sql query which represents the record source I can find all
the records and fields and nothing seems to be wrong?

Inside the report I refer to that field 'unitweight' inside an expression
from the detail 'on print' event.

Can anyone help me pls?

Thanks
Catalin
 
J

John Spencer

If you don't have the field used on the report then Access will not be
aware of the field even if the field is in the report's record source.

Do you use UnitWeight as the source for a control in the report? If
not, you can always add a control with UnitWeight as the control's
source and set the control's visible property to false (no).



'====================================================
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top