Solved Showing Fields based on other Field (1 Viewer)

Jayessh

Registered User.
Local time
Today, 17:07
Joined
Dec 30, 2019
Messages
36
In the following screen at "Banking Details for Salary" group

I need to make "Bank Name", "Account No" and "IFSC" fields Disappear with their Labels when Value "CASH" in Field "PayMode" selected

Thank in Advance


1605174324425.png
Sho
 

Laser

Registered User.
Local time
Today, 12:37
Joined
Nov 18, 2009
Messages
17
Use in the afterupdate event of Paymode or oncurrent event
If [Paymode]="CASH" Then
[Bank Name].visible = False
[Account No].visible = False
[IFSC].visible = False
Else
[Bank Name].visible = True
[Account No].visible = True
[IFSC].visible = True
End If
 
Last edited:

Jayessh

Registered User.
Local time
Today, 17:07
Joined
Dec 30, 2019
Messages
36
Use in the afterupdate event of Paymode or oncurrent event
If [Paymode]="CASH" Then
[Bank Name].visible = False
[Account No].visible = False
[IFSC].visible = False
Else
[Bank Name].visible = True
[Account No].visible = True
[IFSC].visible = True
End If
Dear @Laser,

Thank You very much... Its Working Accurately :) :) :)
 

missinglinq

AWF VIP
Local time
Today, 07:37
Joined
Jun 20, 2003
Messages
6,423
And note that you need to use your code in both events to keep the formatting as you move from Record to Record!

Linq ;0)>
 

Users who are viewing this thread

Top Bottom