referring to subform controls - DOTNET

This is a discussion on referring to subform controls - DOTNET ; Hi, In Access/VBA subform controls can be referenced like: Me!Subform1.Form!ControlName. How to do it with vb .net? Also, is there an equivalent to Access's continuous forms in a dotnet Windows application?...

+ Reply to Thread
Results 1 to 2 of 2

referring to subform controls

  1. Default referring to subform controls

    Hi,

    In Access/VBA subform controls can be referenced like:
    Me!Subform1.Form!ControlName. How to do it with vb.net?

    Also, is there an equivalent to Access's continuous forms in a dotnet
    Windows application?

  2. Default Re: referring to subform controls

    "UsenetUser" <spam@spam.com> wrote in message
    news:df34355aqomuek3ef948t9mdoje07grk2k@4ax.com...
    > Hi,
    >
    > In Access/VBA subform controls can be referenced like:
    > Me!Subform1.Form!ControlName. How to do it with vb.net?
    >
    > Also, is there an equivalent to Access's continuous forms in a dotnet
    > Windows application?



    The controls need to be made public. They are not by default when creating
    the form. You then access them as any other class, such as:
    MyFormInstance.TextBox1.Text.

    --
    Mike


+ Reply to Thread