Hide a numeric field in subform with Option button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neelsfer
    Contributor
    • Oct 2010
    • 547

    Hide a numeric field in subform with Option button

    I am able to hide "datefields " in a subform from mainform with the code below, but gets an error with number fields in the same subform. "object does not support this property or method". Any suggestions please?
    Code:
    [Forms]![captureF]![Fis_CaptureICNSF]![IV_date].ColumnHidden = True
    [Forms]![captureF]![Fis_CaptureICNSF]![Order_No].ColumnHidden = True
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32633

    #2
    Subforms are never added to the Forms collection Neels. Check out Referring to Items on a Sub-Form instead.

    Comment

    Working...