referring to subform controls

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?
 
F

Family Tree Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top