473,795 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tab Forms with Multiple Rows

I need to develop a Tab Form where selecting a particular key from an
unbound combo listbox will resulting in the display one or many
records from several tables, where each tab has the matching rows for
the selected key.

There does not appear to be a similar example in the Northwind
database. The objective is to show related records from several
tables which have a common partial key. It seems that I cannot use a
single query as the basis for all pages of the tab, as this seems to
preclude displaying a datasheet of one or more records for any of the
underlying tables. I have experimented with using an Apply Filter
macro but this seems to only effect the overall form's underlying
query. It seems like each page of the tab form needs its own
underlying query to populate a datasheet specific to the table upon
which that tab is based. I need to be able to change the selection
key and then cause the datasheets for all the tabs to requery to match
the new key selected.

Eg:

Key 1234567 (selected from a list of valid keys based on a query)

Tab Page 1
Key 123456 - Table 1 Row 131 data
Key 123456 - Table 1 Row 293 data

Tab Page 2
Key 123456 - Table 2 Row 55 data

Tab Page 3
No records matching

Tab Page 4
Key 123456 - Table 3 Row 24
Nov 13 '05 #1
3 4075
Not sure what you are trying to accomplish. Do you want one record per tab
page? It's trivially easy to place a Subform Control on a tab page and
display continuous forms view (which, of course, can show many records). I
can think of some scenarios for using that to display details of a
particular record on another page of the tab control.

As far as I know, there is no support for a tab page for each record -- that
would seem to be useful to me only for a small number of records or it would
overwhelm the user.

My applications just don't use datasheet view. I use it myself when I am
doing "end user" kind of things, but that wouldn't include embedding it in a
Subform Control on a tab page.

Larry Linson
Microsoft Access MVP

"Greg Neef" <ne***@linuxmai l.org> wrote in message
news:25******** *************** *@posting.googl e.com...
I need to develop a Tab Form where selecting a particular key from an
unbound combo listbox will resulting in the display one or many
records from several tables, where each tab has the matching rows for
the selected key.

There does not appear to be a similar example in the Northwind
database. The objective is to show related records from several
tables which have a common partial key. It seems that I cannot use a
single query as the basis for all pages of the tab, as this seems to
preclude displaying a datasheet of one or more records for any of the
underlying tables. I have experimented with using an Apply Filter
macro but this seems to only effect the overall form's underlying
query. It seems like each page of the tab form needs its own
underlying query to populate a datasheet specific to the table upon
which that tab is based. I need to be able to change the selection
key and then cause the datasheets for all the tabs to requery to match
the new key selected.

Eg:

Key 1234567 (selected from a list of valid keys based on a query)

Tab Page 1
Key 123456 - Table 1 Row 131 data
Key 123456 - Table 1 Row 293 data

Tab Page 2
Key 123456 - Table 2 Row 55 data

Tab Page 3
No records matching

Tab Page 4
Key 123456 - Table 3 Row 24

Nov 13 '05 #2
Definitely don't want a tab per record, rather a tab per table where
multiple tables share related data in such a mannor that there may be
zero to many rows on each table related to the particular "key". I'll
try the continuous forms approach but still am unclear how to filter
or select data from all of the tables so that only the appropriate
rows from each are displayed on each tab, in the continous form. I
can't just join all of them together in a single query without getting
unspecified outer join problems. A filter macro only effects the
underlying table or query for the overall form, and has no effect on
data in each tab independently.

Essentially I need to do a separate select for each table using the
same selection criteria for each and displaying the results for each
table in tab.

My specific application has real property tax info. I have a table
for Single Family Homes, One for Mobile Homes, One for Commercial
Property... all of which share the Parcel Identification Number (PIN)
but which have uncommon attributes (thus the need for separate
tables). I particular parcel may may zero or many single family homes
AND zero or many mobile homes AND zero or many commercial buildings.
I would like to display ALL of the buildings for a particular PIN in a
tab form with one tab for each type of building.
Nov 13 '05 #3
Imbed a continuous forms view Form for each table in a Subform Control on
the tab pages. Use the LinkMasteFields and LinkChildFields properties of the
Subform controls to synchronize them with particular records on the main
form.

Larry Linson
Microsoft Access MVP

"Greg Neef" <ne***@linuxmai l.org> wrote in message
news:25******** *************** ***@posting.goo gle.com...
Definitely don't want a tab per record, rather a tab per table where
multiple tables share related data in such a mannor that there may be
zero to many rows on each table related to the particular "key". I'll
try the continuous forms approach but still am unclear how to filter
or select data from all of the tables so that only the appropriate
rows from each are displayed on each tab, in the continous form. I
can't just join all of them together in a single query without getting
unspecified outer join problems. A filter macro only effects the
underlying table or query for the overall form, and has no effect on
data in each tab independently.

Essentially I need to do a separate select for each table using the
same selection criteria for each and displaying the results for each
table in tab.

My specific application has real property tax info. I have a table
for Single Family Homes, One for Mobile Homes, One for Commercial
Property... all of which share the Parcel Identification Number (PIN)
but which have uncommon attributes (thus the need for separate
tables). I particular parcel may may zero or many single family homes
AND zero or many mobile homes AND zero or many commercial buildings.
I would like to display ALL of the buildings for a particular PIN in a
tab form with one tab for each type of building.

Nov 13 '05 #4

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

Similar topics

6
10002
by: Steven An | last post by:
Howdy, I need to write an update query with multiple aggregate functions. Here is an example: UPDATE t SET t.a = ( select avg(f.q) from dbo.foo f where f.p = t.y ), t.b = ( select sum(f.q) from dbo.foo f where f.p = t.y ) FROM dbo.test t
0
4250
by: Anonieko Ramos | last post by:
ASP.NET Forms Authentication Best Practices Dr. Dobb's Journal February 2004 Protecting user information is critical By Douglas Reilly Douglas is the author of Designing Microsoft ASP.NET Applications and owner of Access Microsystems. Doug can be reached at doug@accessmicrosystems.com. --------------------------------------------------------------------------------
2
6903
by: John Granade | last post by:
I'm looking for the best way to make a dataset available from multiple Windows forms. The dataset is created from an XML file. I have a main form (frmMain) that loads the dataset and reads the data but then I have other forms that give the ability to add, modify, and delete rows. This of course changes the dataset and I need that reflected in the main form. At first I was actually passing a reference of the dataset to the "modify" form...
22
6290
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
6
1717
by: Kevin | last post by:
I've got an mdiParent form. I open an instance of a child form like this: Dim frmChild as New frmCustomers frmChild.Show() I've got a few of these open at a time. On each frmChild I open another form that displays customer data. When I make changes and save the customer data, I need the updated data to show on the correct frmChild. How do I know which form opened the customer data form and
9
5744
Shashi Sadasivan
by: Shashi Sadasivan | last post by:
Hi all, I have a scenario where i have to drag data from one form to another. both contain 3rd party gridviews and the user can select multiple rows. Data can be dragged and dropped from any grid from either form to another one (infact there are about 6 forms, each with a grid, displaying the same data schema) I use the mouse down event to capture all the rows selected and start the doDragDrop event for that grid and have handled the...
2
5340
by: Michael | last post by:
It seems that a gridview allows us to delete only a single row at a time. How to extend this functionality to select multiple rows and delete all of the selected rows in a single stroke? just like what hotmail web UI is doing now (having the option of selecting multiple rows (using the checkbox provided) and perform a set of operations on them)
3
3929
by: nigelesquire | last post by:
Please help! I'm trying to clone and delete multiple rows with JavaScript. I need two delete buttons that work...! I only have one for now, but it's not working properly, the output count is messing up. Problems:
482
28028
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if this is more of a coldfusion problem or a javscript problem. So if i asked my question in the wrong section let me know an all move it to the correct place. what i am trying to display previously entered multiple fields. I am able to get my serial fields to display correctly, but i can not display my parts fields correctly. Currently this is what it does serial information 1 parts 1
0
9522
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
10448
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
10217
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
10167
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
10003
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
6784
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
5566
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
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
2922
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.