have a database field for customer signature (displays name of the signer) that I want to display on report only when it is "T" true and not when it is "F" false
Thanks for your reply I did what you asked me to do but it still displays the name of signer even if it is False.
The field is INVESTIGATION.X_OOS_8_INVSIGNER (name of signer) which needs to show up only when INVESTIGATION.X_OOS_8_INVSIG (boolean field) is set to true
so i put in this formula
{INVESTIGATION.X_OOS_8_INVSIG} = "False" TO the field
INVESTIGATION.X_OOS_8_INVSIGNER
I think you need to verify how {INVESTIGATION.X_OOS_8_INVSIG} displays. Place it in the detail section and then right click on it->browse field and then report back with the results.
Also, in what section does the signature display? Place the field {INVESTIGATION.X_OOS_8_INVSIG} in the same section and make sure it has the expected value in that section.
{INVESTIGATION.X_OOS_8_INVSIG} is a field in the database and is not displayed anywhere on the report as i do not want to display true or false on the report, but i want to display {INVESTIGATION.X_OOS_8_INVSIGNER}based on the invsig (boolean) field that is selected.
{INVESTIGATION.X_OOS_8_INVSIGNER} is in the report footer section.
Sounds like the field in the database is not a true boolean.
You will need to add the following to the Select Statement of the report (or coding)
Code:
{INVESTIGATION.X_OOS_8_INVSIG} = "T"
Having this in the Selection criterea means you dont have to hide the data within the report - it will just bring down those rows that meet the criterea.
You should right click on the signature in the report footer->format field->suppress->x+2 and enter:
{INVESTIGATION.X_OOS_8_INVSIG} = "F"
The reason I was asking you to put in the detail section is that in the report footer, this field will contain the value of the last detail in the report or in the last group, if there is one. If the value is the same in all details (which would seem to make sense in this case), then the above formula should work fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.