Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Feb 2003
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    subform controls (2002/sp2)

    I have a form (frmStudentData) with a subform (subfrmHonorRoll). I want to set it up so that someone can not edit the data without pushing an edit button. I set the Allowedit control on both forms to no. I created a button to allow edits with code me.allowedits=true. That works on main form. I can't get the code right to allow edits on the subform. Any help would be appreciated.

    Thanks

    Paul

  2. #2
    3 Star Lounger
    Join Date
    May 2002
    Location
    Toronto, Ontario, Canada
    Posts
    314
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: subform controls (2002/sp2)

    Hey Paul... <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    Try this... Me!subfrmName.Form.AllowEdits = True
    (Just change "subfrmName" to the name of your Subform... )

    HTH

  3. #3
    2 Star Lounger
    Join Date
    Feb 2003
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: subform controls (2002/sp2)

    Thanks Trudi - That worked.
    I was close but just couldn't figure it out.
    Have a nice weekend
    Paul

Posting Permissions

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