Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Report

Status
Not open for further replies.

M8KWR

Programmer
Aug 18, 2004
864
GB
What i require is when a field within my report is a certain value lets say either IsNull or equal to 1 then i want to alter the text and field displayed in another text box.

I know you can alter the background colours etc, but i can not seem to find a way to alter the text in each record in the report.

Any help would be appreciated.
 
M8KWR
Have you tried putting code on the OnFormat event for the Detail section.

Something such as...
IIf([Field1]=<1,[TextBox]="other text","normal text")

If this doesn't work, you might have to change the expression...
IIf(IsNull([Field1]) Or [Field1]=1,[TextBox]="other text","normal text")

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top