Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Location
    UK
    Posts
    85

    Question Unanswered: How to change forms data entry property in VB

    Dear All

    I want to open a form by the click of a button and form should open with its data entery property set to Yes.

    I can change the form's data entry property to Yes in the form itself but the same form is also being used to show filtered data as well.

    Thanks

  2. #2
    Join Date
    Mar 2003
    Location
    UK
    Posts
    85

    Smile

    Never mind I have found the solution.

    It was easy but was just matter of playing with VB.

    DoCmd.OpenForm "F_Concern codes", acNormal, , , acFormAdd

  3. #3
    Join Date
    Oct 2003
    Location
    Roanoke, Va
    Posts
    445

    Smile

    Originally posted by dbase
    Never mind I have found the solution.

    It was easy but was just matter of playing with VB.

    DoCmd.OpenForm "F_Concern codes", acNormal, , , acFormAdd
    You can also refer to the property through the Forms collection by

    Forms!<<FormName>>.Form.DataEntry = False

    Gregg

Posting Permissions

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