473,692 Members | 2,196 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 2278
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
2724
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 the lines drawn individually.
17
57388
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 guidance would be much appreciated.
11
6592
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 not logged into the server, Access is not able to print to the printer. The error is pretty...
1
4008
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 I want to link to? I would want to delete all the current links and link to the "live"
8
2739
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 from the Source list; this code does nothing. 2. How can I now USE the data - I have to...
2
3765
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 declaration. In the calling code, I'm successfully serializing the object to an XML file using a...
8
1583
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
10416
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 below code and provide some sample on how to use it. Thanks in advance.
0
1912
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. here i gave my program: Option Explicit Dim Excel As Object Dim ExcelSheet As Object Dim...
0
5705
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
8538
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8961
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8800
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
6459
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5819
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4324
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4557
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2974
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
3
1957
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.