Results 1 to 3 of 3
  1. #1
    bendaly is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2011
    Posts
    2

    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

  2. #2
    boblarson is offline --------
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jun 2011
    Posts
    1,272
    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).

  3. #3
    bendaly is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2011
    Posts
    2
    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.

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums