473,657 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Displaying both the master and its details as a grid

Hi,

My (main)form has a subform that contains the details of the mainform. The
default view of the mainform is 'single form', the default view of the
subform containing the details is 'Datasheet' - Datasheet displays the data
of the associated table as a grid.

I want both the mainform (the master) and the subform to be displayed as
grid. But after changing the default view of the mainform to 'datasheet',
the subform disappears completely - probably because it is "part of" the
mainform?
Isn't there a way to display both the mainform and the subform as a grid? I
would suprised if this is impossible!

Any idea's?

Thanks in advance!
Nov 13 '05 #1
1 1796
Shiva wrote:
Hi,

My (main)form has a subform that contains the details of the mainform. The
default view of the mainform is 'single form', the default view of the
subform containing the details is 'Datasheet' - Datasheet displays the data
of the associated table as a grid.

I want both the mainform (the master) and the subform to be displayed as
grid. But after changing the default view of the mainform to 'datasheet',
the subform disappears completely - probably because it is "part of" the
mainform?
Isn't there a way to display both the mainform and the subform as a grid? I
would suprised if this is impossible!


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In Access 2000, & higher versions, you can insert subdatasheets into
datasheets - just like form/subform.

I've noticed that sometimes the subdatasheet doesn't show. I open the
forms in design view, change some things to Dirty the form & save it.
If that doesn't work, I delete the subform control on the main form;
save main form; open the main form & drag the subform onto it. That
usually causes the subdatasheet to appear.

Remember that the subdatasheet is visible until you click the + sign on
the main datasheet's record.

--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQgWH0oechKq OuFEgEQLixQCg1V mwM9mxoPBLts7Te 1T216zhel8AoOYQ
9o/lrGvzxEcrS2aESV STRiNE
=TgNh
-----END PGP SIGNATURE-----
Nov 13 '05 #2

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

Similar topics

4
1453
by: M | last post by:
Hy, I would like to create a master /detail datagrid, that is a datagrid that (when I click on an item) shows some other item's details expanding the rows under the selected grid Can someone help me with this? Thanks!
0
1997
by: hlam | last post by:
Help - Calculating the total of a column in a data grid -- when data grid is part of Master-Detail set-up I have setup a Master-Detail form using Visual Studio.Net. A ListBox is the (Master) and contains a list of dates. The data grid (Details portion) contains the details for a selected date (namely, a list of work codes and hours spent). I am trying to total the number of hours in the datagrid
1
1491
by: thf | last post by:
Hi, I wish to know how to display a collection of object which is a property in another object in a data grid in VB.Net. For example, I'm displaying a collection of vendor objects (in ArrayList) in a data grid, while I wish to display the products supplied by the vendor (which appears as a collection of product objects in the vendor object property) in another grid. I wish to know how can I accomplish such task. I used data...
2
1285
by: HS1 | last post by:
Hello all I followed the example in Visual Studio.net to create a master and detail relationship as following: two tables: Customers and Orders two DataGrid: GridOrders and GridDetails -------------- Dim myDataRelation As DataRelation
1
1563
by: HS1 | last post by:
Hello all - I have a master and a details table presented in two datagrid - I also have some text boxes that present the values from any record in the master table. This also helps to enter new data for the master table. I also have a Add button to add new data Me.BindingContext(masterGrid.DataSource, "masterTable").AddNew()
2
1181
by: Tuvas | last post by:
I am building a TK interface, that has several threads. If all threads are running actively, including the main one, the interface doesn't update. For example, I have something like this, although more complex import time, threading master=Tk() def thread: global x
1
1675
by: brian.newman | last post by:
I'm trying to link a gridview to another gridview in a Master-Details architecture. But the Details list isn't filtering like it is suppossed to. It will show all items on page load and it won't remove any items when an item in the Masters list is selected. It shouldn't show anything until an item in the Master's list is selected and then only show the details which are associated with the selected item in the Masters list. I'm new to...
1
1079
by: edolikian | last post by:
Suppose you have a Master/Detail type form. Order > Details. I have established a binding object for the Master to the Order table and the Details to the OrderDetails relation. In the Details Grid, I want to display a column from a related table (e.g. Product Description). How do you do that? Don't need to be able to edit.
0
1715
by: Mike Wilson | last post by:
Dear group, I have an invoice entry form, which is a simple Master fields / Detail grid. The main summary information of the invoice are stored in one table in a dataset, which is bound using a BindingSource (InvoiceBindingSource). The line details of each item in the invoice is held in a child table which is bound to another bindingsource (InvoiceRowsBindingSource). I took the basic design from an MSDN article, and all works well....
0
8395
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
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
8826
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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
8503
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,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4155
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
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.