I have a form that displays the contents of a record searched for on a major file. The field in question is made up from the expression below
It only happens with one record on the qry file - Where the result of the expression is printed in RED
The data generated for this field comes from a query file. The expression that produces the field contents is below
I have looked through the code and there is only 2 references to ForeColor and they have nothing to do with the field in question. I have searched for vbRed and once again nothing related to this field or any of the fields in the expression.
I have checked the formatting for each of the fields and they are all Text 1
The qry source file content is as it should be for this record
I allocated 10 minutes to correct this and then move on - it's now taken me ages to get nowhere.
Any help would be appreciated
It only happens with one record on the qry file - Where the result of the expression is printed in RED
The data generated for this field comes from a query file. The expression that produces the field contents is below
Code:
=IIf(([DebtorCompTypeFld]=5),RTrim([DFName] & " " & [DLName]),RTrim([DFName])) & " " & [DAddress1] & " " & [DAddress2] & " " & [DAddress3] & " " & [DTown] & " " & [stateCode] & " " & [DPostCode] & " " & IIf(Not IsNull([TradingAs])," T/A - " & [TradingAs])
I have looked through the code and there is only 2 references to ForeColor and they have nothing to do with the field in question. I have searched for vbRed and once again nothing related to this field or any of the fields in the expression.
I have checked the formatting for each of the fields and they are all Text 1
The qry source file content is as it should be for this record
I allocated 10 minutes to correct this and then move on - it's now taken me ages to get nowhere.
Any help would be appreciated