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

Home Posts Topics Members FAQ

Report From Table - Unique Records in Several Tables

I have several tables formatted as follows:

ITEM #, ITEM DESCRIPTION, PL, JANUARY
ITEM #, ITEM DESCRIPTION, PL, FEBRUARY

And so on… I need to create a final report that merges all of the
information from these tables to form a tabular report reflecting the
information for all items for each month. However, the items in the
item number field are not identical. How can I make my report include
information for an item that does not appear on all of my tables?
Nov 13 '05 #1
3 1402
jo***********@y ahoo.com (Joanna Epstein) wrote in message news:<6d******* *************** ****@posting.go ogle.com>...
I have several tables formatted as follows:

ITEM #, ITEM DESCRIPTION, PL, JANUARY
ITEM #, ITEM DESCRIPTION, PL, FEBRUARY

And so on? I need to create a final report that merges all of the
information from these tables to form a tabular report reflecting the
information for all items for each month. However, the items in the
item number field are not identical. How can I make my report include
information for an item that does not appear on all of my tables?


if your tables have the same structure, create a union query and then
base your report on that. BTW, if your tables all have the same
structure, why are they separate?
Nov 13 '05 #2
pi********@hotm ail.com (Pieter Linden) wrote in message news:<bf******* *************** ****@posting.go ogle.com>...
jo***********@y ahoo.com (Joanna Epstein) wrote in message news:<6d******* *************** ****@posting.go ogle.com>...
I have several tables formatted as follows:

ITEM #, ITEM DESCRIPTION, PL, JANUARY
ITEM #, ITEM DESCRIPTION, PL, FEBRUARY

And so on... I need to create a final report that merges all of the
information from these tables to form a tabular report reflecting the
information for all items for each month. However, the items in the
item number field are not identical. How can I make my report include
information for an item that does not appear on all of my tables?


if your tables have the same structure, create a union query and then
base your report on that. BTW, if your tables all have the same
structure, why are they separate?


The tables have been exported from several different Crystal Reports.
The reason they are seperate is irrelevant - I just need assistance
making a tabluar report with a column for each month. (Also, in the
future, other information will most likely get added from tables with
a different format.) When I tried to make a union of these seperate
tables, the report excluded information that was unique to each table.
(ie: item numbers that appear in some month but not all.) Any useful
assistance would be greatly appreciated.
Nov 13 '05 #3
jo***********@y ahoo.com (Joanna Epstein) wrote in message news:<6d******* *************** ****@posting.go ogle.com>...
pi********@hotm ail.com (Pieter Linden) wrote in message news:<bf******* *************** ****@posting.go ogle.com>...
jo***********@y ahoo.com (Joanna Epstein) wrote in message news:<6d******* *************** ****@posting.go ogle.com>...
I have several tables formatted as follows:

ITEM #, ITEM DESCRIPTION, PL, JANUARY
ITEM #, ITEM DESCRIPTION, PL, FEBRUARY

And so on... I need to create a final report that merges all of the
information from these tables to form a tabular report reflecting the
information for all items for each month. However, the items in the
item number field are not identical. How can I make my report include
information for an item that does not appear on all of my tables?


if your tables have the same structure, create a union query and then
base your report on that. BTW, if your tables all have the same
structure, why are they separate?


The tables have been exported from several different Crystal Reports.
The reason they are seperate is irrelevant - I just need assistance
making a tabluar report with a column for each month. (Also, in the
future, other information will most likely get added from tables with
a different format.) When I tried to make a union of these seperate
tables, the report excluded information that was unique to each table.
(ie: item numbers that appear in some month but not all.) Any useful
assistance would be greatly appreciated.


If you have other fields that are unique to individual tables, but
still want to include this data in your query result, you'll have to
put in a placeholder, like a null, in that column... otherwise your
sets won't be fully union-compatible.
Nov 13 '05 #4

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

Similar topics

24
4181
by: Michael Malinsky | last post by:
I'm attempting to create a database which will take information from one (perhaps two) tables and utilize that information to return queries to a report designed in Excel. The general idea I have is this: The "primary" or "source" table is easy. This is a trial balance (account number as a primary key, description, amount). I'll need table(s) to denote which account numbers belong to which
36
4642
by: toedipper | last post by:
Hello, I am designing a table of vehicle types, nothing special, just a list of unique vehicle types such as truck, lorry, bike, motor bike, plane, tractor etc etc For the table design I am proposing a single column table with a field name called vehicle_type and this will contain the vehicle type. Sot it will be
6
2243
by: John | last post by:
Hi, I have simple database based on 3 tables. Relationship is 'one to many' between table 1 and 2, also between 2 and 3 table'one to many'. I have made form where I enter data in all 3 tables. Form has 2 subform based on relationships. I want to make report to print data which is shown on form. I want to print only data from form, not whole records from tables. Does anyone knows how to do this? I have tried with report based on query,...
1
2504
by: Megan | last post by:
quick summary: i'm having problems trying to group fields in a report in order to calculate percentages. to calculate percentages, i'm comparing the results from my grouped fields to the totals. first, let me say that this is a really long post. i wasn't sure how much information/ background to provide, so i thought more was better than less. i tried to delineate certain areas so that it would be easy to peruse my posting and find...
2
1813
by: Bubb | last post by:
I have an Access database with one table that I use for stuff I sell online. Each record has the following fields: Unique Id, Cost, and Item Description. I just obtained some more stuff with its own database, some of the items I already have in my database. The new table has the same three fields. What I need to do is merge the two database tables together so I have one table. I need to make the new merged table have 7 fields: ...
5
3350
by: David L. | last post by:
I'm running into a frustrating problem. ASP.NET 2.0 web application, against SQL'05, I'm trying to run a report against a 'table provider' (query) that excutes well within SQL MGT studio, and within the data environment. However, when the report is executed in a web report viewer, the report engine comes back with: An error has occurred during report processing.
69
8052
by: kabradley | last post by:
Alrighty Guys and Gals, I have another question that I hope you all can help me with. I have a report that uses a cross-tab query as its record source. This cross-tab query is getting all of its information from another query. That query, qryRpt, is pulling information from several different tables. One of these table is tblDistributions, a table that holds monthly distributions for a particular investment, and the second is tblDeduction, a...
6
9413
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate report" button located on my form to print all of the list box values (that have been updated via selection from combo boxes) from the form to the report. I've tried using a macro with the code: Macro Name: cmdGenerateReport : On Click Action:...
4
4222
by: lupo666 | last post by:
Hi everybody, this time I have three problems driving me nuts :-((( (1) I have a report with 20 or so Yes/No "squares". Is there a way to either hide/show the "square" or change the yes/no relative textbox, depending on value? (2)
0
8425
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
8845
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...
1
8522
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
7355
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
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
5647
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
4173
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
4333
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1736
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.