473,508 Members | 2,475 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data grid control

I create form with master detail relation ship. It shows two data grid
control. I want to remove one. I want to use one grid control by which
i can add delete data in both tables.

Thanks,

Aug 13 '06 #1
2 6784
It is not clear here, but by two controls...do you mean two columns of
display, or is there in fact
two actual "grid" displays.

I *often* use two sub-forms to display "many" of the "one" side of a
relation on the left side of the screen,
and then on the right side show many for each of what is selected on the
left side.

Here is some screen shots of what I mean:

http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

the above might give you some good ideas. The last screen shot is a classic
example of splitting out cheque funds for a given person to multiple
accounts.

However, if you want data from both tables to be shown on a single grid, the
build a query that joins the two tables together, and then build a continues
form based on that query.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Aug 14 '06 #2
I am sorry. I mean it shows 2 data controls. One for main form and the
other for subform. Is it possible i use one control to add, delete edit
data in both.

Thanks,
Albert D. Kallal wrote:
It is not clear here, but by two controls...do you mean two columns of
display, or is there in fact
two actual "grid" displays.

I *often* use two sub-forms to display "many" of the "one" side of a
relation on the left side of the screen,
and then on the right side show many for each of what is selected on the
left side.

Here is some screen shots of what I mean:

http://www.members.shaw.ca/AlbertKal...icles/Grid.htm

the above might give you some good ideas. The last screen shot is a classic
example of splitting out cheque funds for a given person to multiple
accounts.

However, if you want data from both tables to be shown on a single grid, the
build a query that joins the two tables together, and then build a continues
form based on that query.
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Aug 14 '06 #3

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

Similar topics

0
2319
by: Ann Morris | last post by:
INTRODUCTION One of the most powerful aspects of .NET and Windows Forms is data binding. Data binding is the process of associating user interface (UI) elements with a data source to generate a...
1
1481
by: Ananth | last post by:
Hi, I have a question regarding data grids My application requires me to use a grid for displaying data, however I would not be using a database for procuring the data, instead I would be...
0
1111
by: saira tst via .NET 247 | last post by:
(Type your message here) -------------------------------- From: saira tst hi, I have created a data grid control and populated the control,from an array list. The grid contains a column...
2
2207
by: Joe Au | last post by:
I follow the Walkthrough documented on Visual Studio to create an editable data grid but it does not work on getting the value of the textbox in the data grid. The code is copied here. I mark...
1
2181
by: Shahid Saleem | last post by:
Dear Members I want to generate a Template using DataList and i want to user Grid control in the item template, is it possible. if yes need some explanation regarding data binding of grid...
12
1445
by: Kimberley Wiggins | last post by:
Can someone please help me? I am still learning vb so this is fairly new. I have been chasing this problem for 3 days now and I think that I am ready to give up. Does anyone know how to make...
6
3124
by: Mike Wilson | last post by:
Dear Group, I have a heirarchical set of database tables, say - "order" and "order_type" and want to display a series of orders in a grid control, and in place of the order_type foreign key...
1
2090
by: David Veeneman | last post by:
How do I get the data bindings for a control that is bound at design time? I'm binding a DataGridView control to a data source at design time, using a BindingSource control. I set the grid's...
7
28336
by: Joe-Paul Robb, Jr. | last post by:
Hello: I am building a program in Visual Basic 6.0. (Op Sys: Windows XP 2002 Service Pack 2) I placed an AOD Data Control on a form...and a data Grid. I bound the data grid to the data...
1
2236
by: pavanip | last post by:
Hi, I have a data grid control and I placed one combo box in that data grid and I am binding data to data grid combo box.When i run the application by default the combo box is not showing anything...
0
7133
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
7336
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
7405
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...
1
7066
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...
0
4724
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...
0
3214
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...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
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 ...
0
435
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...

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.