I have an ms access report where I have an invisible combo box that gets the value for the employee name and role from the query which selects data from tblemployee.
I am using this box to display name and role in the text box for report using the following code
=Combo58.Column(1) & ", " & Combo58.Column(2) in the control source property.
The issue is that if there an employee name and role, then it looks fine but If there is no nameand role then it display “,” in the report.
I want to display “,” only when I have data in the combo box for employee name and role, I tried using Nz function but it is not working.
I would appreciate any suggestion.
Thank you,
Blyzzard