G
Guest
I need help in identifying why I am getting this message. I have a query for
a Report where my defined field returns the message that says:
**The Microsoft Jet database engine does not recognize -
'Forms![Level-Top-Reports]!DivID!' as a valid field name or expression.**
My query has the following field in one line:
SpcCode: IIf(DMax("[GrpNo]","Group","[DivID]=" &
([Forms]![Level-Top-Reports]![DivID]))>"A" Or
DMax("[GrpNo]","Group","[DivID]=" &
([Forms]![Level-Top-Reports]![DivID]))>"1",[GrpNo] & "." & [ccnumber] & "." &
[RoomOrder],[ccnumber] & "." & [RoomOrder])
The reason why I need help is because I have exactly the same field in other
reports and they run without any problems.
a Report where my defined field returns the message that says:
**The Microsoft Jet database engine does not recognize -
'Forms![Level-Top-Reports]!DivID!' as a valid field name or expression.**
My query has the following field in one line:
SpcCode: IIf(DMax("[GrpNo]","Group","[DivID]=" &
([Forms]![Level-Top-Reports]![DivID]))>"A" Or
DMax("[GrpNo]","Group","[DivID]=" &
([Forms]![Level-Top-Reports]![DivID]))>"1",[GrpNo] & "." & [ccnumber] & "." &
[RoomOrder],[ccnumber] & "." & [RoomOrder])
The reason why I need help is because I have exactly the same field in other
reports and they run without any problems.