Hi,
I have a small report where I placed a small JPG pic which I want to make it visible or invisible based on data available in one of the text box.
I have tried placing following very simple code OnOpen, OnActivate, OnLoad and OnCurrent event of this report at may times but still not taking effect.
If IsEmpty(Me.HrSignPwd) Then
Me.HrSign.Visible = False
Else
Me.HrSign.Visible = True
End If
By Default visibility of HrSign pic is kept OFF.
I know this might be very simple but in my 2016 Access it is not working at all.
Kindly support.
Ashfaque
I have a small report where I placed a small JPG pic which I want to make it visible or invisible based on data available in one of the text box.
I have tried placing following very simple code OnOpen, OnActivate, OnLoad and OnCurrent event of this report at may times but still not taking effect.
If IsEmpty(Me.HrSignPwd) Then
Me.HrSign.Visible = False
Else
Me.HrSign.Visible = True
End If
By Default visibility of HrSign pic is kept OFF.
I know this might be very simple but in my 2016 Access it is not working at all.
Kindly support.
Ashfaque