I have a form where the RecordSource is a query. In this query I have an expression as under and display this value of QryCode in the form using an unbound text field
QryCode: IIF(Left([itemmastertbl].[internalcode],1) = "B" or Left([itemmastertbl].[internalcode],1) = "F"...