473,386 Members | 1,785 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,386 software developers and data experts.

Using sub-forms (MDI) in .NET

I come from the Access environment where all the windows
form handles were hidden so pardon my question.

In Access I could make "continuous" subforms and there was
a subform "container" object I could place on a form and
then reference the subform and easily link the two
together with a master/child link. The mastery of just
how it worked was hidden from the average user.

I have the dataset side working fine with multiple
tables, data relationships and keys. But for the life of
me I cannot figure out how to create the subforms like I
did in Access to represent the various tables
with "continuous" or repeating records without using the
datagrid. Some of the tables are appropriate for a
datagrid so those are working fine. Some of the subforms
require combo boxes and additional controls to enhance the
subforms use. Its those subforms that I cannot yet figure
out how to make them work.

In VB6 I remember a data repeater control that came
close to what I wanted but I cannot find anything similar
in the .NET framework.

I see that forms have a IsMDIContainer property but I
cannot figure out how to create the container object to
hold the subform per say (like Access did). The other
issue is how do you make a single line form "repeat" to
display multiple records within the child container? Just
need someone to point me in the right direction.

Thanks
Jul 21 '05 #1
1 2181
John,

There's no repeater control, although you could build/buy one if you really
want it. That said, you can add dropdowns and other controls to a datagrid.
See http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q480q for some
approaches for a creating a dropdown column.

HTH,
Nicole
"John Mudd" <ms***********@comcast.net> wrote in message
news:04****************************@phx.gbl...
I come from the Access environment where all the windows
form handles were hidden so pardon my question.

In Access I could make "continuous" subforms and there was
a subform "container" object I could place on a form and
then reference the subform and easily link the two
together with a master/child link. The mastery of just
how it worked was hidden from the average user.

I have the dataset side working fine with multiple
tables, data relationships and keys. But for the life of
me I cannot figure out how to create the subforms like I
did in Access to represent the various tables
with "continuous" or repeating records without using the
datagrid. Some of the tables are appropriate for a
datagrid so those are working fine. Some of the subforms
require combo boxes and additional controls to enhance the
subforms use. Its those subforms that I cannot yet figure
out how to make them work.

In VB6 I remember a data repeater control that came
close to what I wanted but I cannot find anything similar
in the .NET framework.

I see that forms have a IsMDIContainer property but I
cannot figure out how to create the container object to
hold the subform per say (like Access did). The other
issue is how do you make a single line form "repeat" to
display multiple records within the child container? Just
need someone to point me in the right direction.

Thanks

Jul 21 '05 #2

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

Similar topics

5
by: C. Alexander | last post by:
I'm making a 'whiteboard' application. I'm trying to have 2+ connected users able to draw at the same time. However, if User1 draws a line, when User2 is drawing, on User1 screen, it will draw...
17
by: gokul | last post by:
Hi, Iam a newbie to dotnet and I experience problems in using the Browser control in VB .net. Though Iam able to use it with its basic features, I need to customise it. ...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
8
by: sara | last post by:
I am learning Access and programming. I wanted to have the user select the departments for an ad from the list of all departments. Found code (that I could understand) on this site, and it works....
2
by: Phillip Galey | last post by:
I have an object called Place which contains only string properties and has the <Serializable()> flag before the class name declaration. I also have a collection object called Places, which is...
8
by: John | last post by:
Hi I need to be able to call a web service method, receive the dataset that web method returns and store it in an access table. My problem is that I don't know how to "receive" a complex type...
1
by: handokowidjaja | last post by:
Hi All, Several weeks ago i started a topic with the same subject, however the solutions provided was for using MS Outlook (fullblown version). I finally found something that works directly with...
0
by: wankhusairi | last post by:
hallo sir .. i am still new on using vb and i have tried to load an excel using a visual basic interface.. but if i wanted to plot my excel data what should i do.. must i cahnge my program on loading...
0
debasisdas
by: debasisdas | last post by:
Using Subqueries ================== The sub query is often referred to as a nested SELECT, Sub - SELECT, or inner SELECT statement. The sub query executes once before the main query. The...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.