Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Sep 2006
    Thanked 0 Times in 0 Posts

    Command button (Access 2000)

    i am trying to open a report on clicking the command button.I want to open the report only when another command button is clicked. However i get the error that this property or method is not supported. On the OnClick event of my command button CmndMain i have the condition : If Me! CmndButton1 = True Then.......
    But Access give the above message.Why is my command not right ?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Thanked 31 Times in 31 Posts

    Re: Command button (Access 2000)

    Because a command button doesn't have a value, so CmndButton1 = True doesn't make sense. You could replace CmndButton1 with a toggle button. A toggle button has value True if it is 'down' and False when it is 'up'.

Posting Permissions

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