473,583 Members | 2,978 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2218
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
2719
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 another line, connecting User1's, and User2's current X,Y position. Same thing happens with User2. But User3, and User4 is not drawing, and see...
17
57375
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. http://www.codeproject.com/books/0764549146_8.asp The above link shows where what I want is achived in C#, but I need t oa cjhive the same in VB .net. Someone help and...
11
6578
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 where the job is running, the job runs sucessfully, PDF files got generated, everything is good. If I scheduled the job to run at the time that I am...
1
4004
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 live databases on the network. Is there a way, via code, when I get back in-house from being on the road to click a button, and select the backends...
8
2734
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. But I have 2 quesitons: 1. How can I REMOVE a selection from the Destination List box - and keep the others there? My first code removes ALL...
2
3754
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 implemented using Inherits System.Collections.Specialized.NameObjectCollectionBase and also has the <Serializable()> flag before the class name...
8
1581
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 like a dataset and how to link it to the access table that it is supposed to go in. Could someone please give me a code example? Thanks
1
10413
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 Outlook Express, however i dont know how to attach any document using the below code. If anybody knows how to do it, please help me to modify the...
0
1909
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 the excel by using OLE or Msflexgrid.. i am very confuse..hope u can give me some tip on how should i plot my graph using the visual basci interface....
0
5697
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 result of the sub query is used by the main query (outer Query). You can place the sub query in a number of SQL clauses. WHERE clause
0
7896
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8186
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8329
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7936
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6583
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5704
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5377
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3821
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2335
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.