-
Web From
Hello
I have a web form (with Access 2010) in which I have an "ok" button and a field text "txtCode". I need to disable the text field when I click on the button "Ok".
If I had VBA code, I can write the following code
Private Sub btnOK_Click()
me.txtCode.enabled = False
End Sub
Thank you for your help
-
You have to use a macro for web forms. Unfortunately I can't get to my Access 2010 installation right now to tell you where it is in the macro builder (or if it is there). But that is where you need to go for this (in case you can find it).
-
Thank you for your answer,
I tried to use the marco to disable the field, but I got nothing. In the Web macro, I think that in the Web macro it is not possible to disable a control.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules