Son/Daughter Report

bigbadbess24

Registered User.
Local time
Today, 08:29
Joined
Mar 9, 2006
Messages
83
I am creating a letter in a report for parents. In the report I want it to figure out whether it should say son or daughter. I do have a field for sex (M/F). Is there a way to tell the report to say son or daughter base on the sex field?
 
Sorry I wrote this in the wrong place, I put it in Report Forum. But if you can help me out that would still be great.
 
You can use the IIf() function in your query.
Select ...., IIf(SexCode = "F", "Female", "Male"), As SexName, ....
From YourTable;

Use the query as the RecordSource for your report.
 
Please don't start multiple threads on the same topic.
 

Users who are viewing this thread

Back
Top Bottom