To add some to John's answer, include an equals sign in the expression for
the Control Source property of a text box on the report:
1. =IIF([field] = 0, NULL, [field])
2. =IIF([field] = "s", "Store")
Also, make sure that the Name of the text box control is *NOT* the same as
the field name. Otherwise, you will get a #Error showing up (circular
reference error).
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
John W. Vinson said:
Is there a way with expression builder you can chnage the value of a field on
a report? For example the two I would like to do are:
1. If field = 0 then make blank or null
2. if field = 's' then display "store"
Thanks.
Sure. Use the IIF() function:
1. IIF([field] = 0, NULL, [field])
2. IIF([field] = "s", "Store", <whatever you want displayed if it isn't S,
such as [field] to display the actual field value>)
John W. Vinson [MVP]