Hi,
I have not used Access or VB for ages and am a little rusty.
I have created a database to generate letters, there are only 2 users if userA enters details and then needs print off the report I want his personal details at the bottom of the report (tel no. email etc). The form is pretty standard to fill in the user then selects either userA or userB via a drop down.
Do I use an If Then Else to display the appropriate label? and if so how and where do I structure it?
It's probably a basic one but I just can't figure it out.
If Consultant = userA Then
labelUserAdetails.visible = true
Else
labelUserBdetails.visible = true
End If
Thanks in advance
Ben
I have not used Access or VB for ages and am a little rusty.
I have created a database to generate letters, there are only 2 users if userA enters details and then needs print off the report I want his personal details at the bottom of the report (tel no. email etc). The form is pretty standard to fill in the user then selects either userA or userB via a drop down.
Do I use an If Then Else to display the appropriate label? and if so how and where do I structure it?
It's probably a basic one but I just can't figure it out.
If Consultant = userA Then
labelUserAdetails.visible = true
Else
labelUserBdetails.visible = true
End If
Thanks in advance
Ben