How do I refer to a subform (VBA)?

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

    How do I refer to a subform (VBA)?

    I have a for frmOrders with a subform frmOrderlines. How can i check if
    there is any record in the subform?

    Helge


  • Mike Storr

    #2
    Re: How do I refer to a subform (VBA)?

    Try testing...
    Forms!frmOrders !subcontrolName .Form.Recordset clone.RecordCou nt

    Mike Storr



    "Danke" <danke@danke.no > wrote in message
    news:OfOUb.3100 $O41.86822@amst wist00...[color=blue]
    > I have a for frmOrders with a subform frmOrderlines. How can i check if
    > there is any record in the subform?
    >
    > Helge
    >
    >[/color]


    Comment

    Working...