referring to subform controls

  • Thread starter Thread starter UsenetUser
  • Start date Start date
U

UsenetUser

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?
 
UsenetUser said:
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.
 
Back
Top