Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Aug 2005
    Posts
    132
    Thanks
    0
    Thanked 0 Times in 0 Posts

    command button pressed (Access 2000)

    How can I express the situation when a comman button is pressed? I tried thr folloiwjg ways
    1.If Me!CmdAudit = True Then........ : I got the message that access does not support the object
    2.If (Not IsNull(CmdAudit) Then ..... I got the message syntax error

    Can you show me where my error is ?

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: command button pressed (Access 2000)

    Command buttons do not have values, only events. You can use the Click event of a command button to do something, or you can use a toggle button, which does have a yes/no value.
    Charlotte

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •