Newbie question - subform

  • Thread starter Thread starter dave
  • Start date Start date
D

dave

I have an application written in Access that has a sub form in it and am in
the process of moving it to VB.net

The sub form has multiple lines of data, together with a couple of buttons
on each line. When the buttons are pressed they affect the data in that
line only.

I have looked through the documentation but cant seem to find an equivalent
type of sub form in VB.net other than a data grid. Is there any?

Thanks
 
No, nor does data access resemble anything in the older versions of ADO.
However, you can still get there. For instance, you can create a DataSet
which has no counterpart in Access but is the rough equivalent of a locally
cached copy of a database (provided you load the same tables into it).
Anyway, A dataset can be held in a module or a class with all shared
members. From there...all forms/classes etc can see it. You can 'connect'
parent tables to child tables using a datarelation
object....http://www.knowdotnet.com/articles/datarelation.html It's very
easy to simulate and the DataGrid can even provide a more intuitive method
of navigation between parent/child tables. Check out Bill Vaughn's ADO -
ADO.NET best practices www.betav.com or David Sceppa's ADO.NET Core
Reference ....both of them will teach you the ADO.NET way to get to the same
place (assuming you are using .NET and not Access)..

HTH,

Bill
 
Back
Top