NitherWise
New Member
- Joined
- Nov 3, 2002
- Messages
- 36
From the switchboard, I have a form that opens in Add or Edit mode depending on what the user wants to do.
I have two labels on the form, one for add mode and one for edit mode. Depending on which mode the form is opened, that is the lable that I want to be visible.
What would be the correct VB code to achieve this?
I have been trying to do this on the On_Load event using If..Then..Else, but have had no success. Either both of them are displayed or neither of them are displayed.
Please advise.
Thanks
I have two labels on the form, one for add mode and one for edit mode. Depending on which mode the form is opened, that is the lable that I want to be visible.
What would be the correct VB code to achieve this?
I have been trying to do this on the On_Load event using If..Then..Else, but have had no success. Either both of them are displayed or neither of them are displayed.
Please advise.
Thanks