Temporary disabling a field in a form

torquay

Registered User.
Local time
Today, 20:46
Joined
Dec 27, 2005
Messages
85
Hopefully someone can point me in the right direction.

I have a small spare parts db which also has pictures of some of the parts.
manufacturer
partnumber
wholesale
retail
picture

The form carries data on wholesale price which I would need to hide if the customer would like to see a picture of the required spare part.
Is it possible to have a button to temporary make the wholesale field non-visible? Or would it be better to click on a button to open a new page with just the picture of the selected part and the retail price, if so what is the best way to achieve this.

Thank you in advance for any assistance.
Kim
 
Hello Kim

One way to do this is set the VISIBLE property of your text control to FALSE. The code below hides a text box control named txtField1 when a command button named cmdHide is pressed.
Regards
Mark

'
Private Sub cmdHide_Click()
txtField1.Visible = False
End Sub
 

Users who are viewing this thread

Back
Top Bottom