473,385 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

VB.Net Main/Sub Form Creation

I am trying to transition from Access97 to Visual
Basic.net. My biggest challenge to date is the creation
of a Main/Sub Form. In Access97 You create a main form
and you can then insert a sub form. an example would be a
main form containing info on one customer and the sub
containing all records relative to that particular
customer. Just what is the VB Equivalent of this process?

As always, any help would b e greatly appreciated.

J R Esposito
Nov 20 '05 #1
2 2517
I'll probably get told I'm wrong, and there is a way of doing this, but I
dont think the concept exists as it did in Access. Your best bet is to start
looking at twin DataGrids and the ADO setup to make this work the way you
describe below.
http://msdn.microsoft.com/msdnmag/is...g/default.aspx

OHM
James R Esposito wrote:
I am trying to transition from Access97 to Visual
Basic.net. My biggest challenge to date is the creation
of a Main/Sub Form. In Access97 You create a main form
and you can then insert a sub form. an example would be a
main form containing info on one customer and the sub
containing all records relative to that particular
customer. Just what is the VB Equivalent of this process?

As always, any help would b e greatly appreciated.

J R Esposito


Regards - OHM# On**********@BTInternet.com
Nov 20 '05 #2
* "James R Esposito" <jr****@hotmail.com> scripsit:
I am trying to transition from Access97 to Visual
Basic.net. My biggest challenge to date is the creation
of a Main/Sub Form. In Access97 You create a main form
and you can then insert a sub form. an example would be a
main form containing info on one customer and the sub
containing all records relative to that particular
customer. Just what is the VB Equivalent of this process?


There is no built-in way at the moment, but in VS.NET 2004, a control
for doing something like that will be included.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Sergio Otoya | last post by:
Hi all, I need to add an input hidden field to an existing form (post). I have tried a couple things like adding the '<INPUT type=hidden name=idSelectedURL value=http://server/documents>' to...
4
by: Stuart Perryman | last post by:
Hi, I have the following code which works just fine in IE6 but not in Firefox. It is an extract of several table rows each with an individual form. It is generated by php. <form...
1
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access...
12
by: Bill Cunningham | last post by:
> #include <stdlib.h> > #include <stdio.h> > > int main(int argc, char *argv) { > FILE *in, *out; > > if(argc==1) > { > in = stdin; > out = stdout;
3
by: EnglishMan69 | last post by:
Hello All, I am using VB2005 Beta 2 in VS 2005 and am running into a small problem. I need to be able to add a picture box to the main form from within a thread. The program goes to a web...
10
by: Raj | last post by:
Could anyone tell me how to display "Hello World" in C++ without writing anything inside main?i.e, main should not contain even a single statement (no object creation or no cout or anything)
9
by: | last post by:
Hi How to get a reference to main form in a Windows Form 2.0 Application? I'm making a a library and I need a reference to the main form of the application that is using that library. TIA
6
by: 130975 | last post by:
Hi Everybody, I am working on a database that creates the Student Code and their email id's. Table Student stores basic information like First name, last name, address, class etc. Table Email...
1
by: Bill Woodruff | last post by:
Visual Studio 2005, .NET FrameWork 2.0, C#, WinForms Application Hi, I've read the recent posts by and to 'Thunderbird' (and learned a lot, thanks, from the usual masters Skeet and Paladino,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.