WilliFixit
Programmer
In a report that shows confidential information about various individuals, I would like replace each individual's name with "********" except for a selected individual in the detail section of a report. <br>
<br>
Currently the database contains a global variable that contains the correct string.<br>
<br>
If I hard code the item in the Record Source property like: <br>
iif([FullName] = "Doe, John", [FullName], "*********" <br>
Then it works fine. However, with multiple reports, and where I may not know a new name, I would like to plug in the global variable. Whenever I plug in the global gsMasterName, I end up with a parameter query.<br>
<br>
Any help would be useful.<br>
<br>
I have tried to solve this in the query the form is based on, but get the same problem.<br>
<br>
Thanks, Will
<br>
Currently the database contains a global variable that contains the correct string.<br>
<br>
If I hard code the item in the Record Source property like: <br>
iif([FullName] = "Doe, John", [FullName], "*********" <br>
Then it works fine. However, with multiple reports, and where I may not know a new name, I would like to plug in the global variable. Whenever I plug in the global gsMasterName, I end up with a parameter query.<br>
<br>
Any help would be useful.<br>
<br>
I have tried to solve this in the query the form is based on, but get the same problem.<br>
<br>
Thanks, Will