Setting properties for a subform programatically

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • slinky

    #1

    Setting properties for a subform programatically

    I have a subform (called subProjects) found on a tab (called Page255)
    on a form (called Main Menu) for which I want to change the Edit,
    Delete, Add properies. What looks wrong with this code that keeps
    giving bugs?

    Private Sub ChangePropertie s_Click()
    With [Forms]![Main Menu]![Page255]![subProjects]![ManufacturerNam e]
    .AllowEdits = True
    .AllowDeletions = True
    .AllowAdditions = True
    End With

Working...