473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

A report based on one particular field from multiple tables

LeighW
73 64KB
Hi there,

Everytime a user edits data within the bound forms in the database the approval checkbox (which is a bound field) changes to "False".

Is there a way of creating one sole report based on the records from each table where the approval field is "False"?

This means that I don't require a relationship between the tables it is purely for an approver to come along generate a report and check what has been modified.

Each form is bound to a table.

Form1 = Table1, Form2 = Table2, Form3 = Table3.

The approval field resides in each Table.

Is what I ask possible?

Thanks for any help,

Leigh
Sep 11 '12 #1
3 1796
zmbd
5,501 Expert Mod 4TB
If the tables are related this is fairly straight forward.
However, if not, then two possible ways that I can think of to do this.
You could create a seperate report for each table and then insert these into a parent report. You would then get a single report that groups the records by table.
If you just need to have the data all on combined and pretty then the next option is to try a union query... these can be a hoot and you'll have to have a good understanding of SQL and grouping theory to create the query.
-z
Sep 11 '12 #2
LeighW
73 64KB
The tables are related in this kind of format.

Table 1 -> Table 2 -> Table 3

The problem is someone could modify a record from Table 1 and then a couple completely unrelated records in Table 3 so I guess the report would look a bit messy with a record from Table 1 then Table 3 then Table 2, etc.

I think to make it as easy as possible for the approver it would be better if it shows all of the unapproved records from Table 1 THEN from Table 2 THEN from Table 3

From that perspective I'm guessing joining a number of reports into a parent report would be best? I wanted to avoid creating numerous reports for one job but it looks like I'll have to do it that a way.
Sep 12 '12 #3
zmbd
5,501 Expert Mod 4TB
From what you've typed, there appears to be no relationships established between the tables. Thus, IMHO, the solution will be the unbound parent report hosting the three subreports.

Please keep in mind however, that this solution is based upon absolutly no information about the structure of the tables or the relationships between them, if any exsist, that might suggest a different way to handle the data.

-z
Sep 12 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Rigga | last post by:
Hi, I am new to mysql and need help on how to join tables. I have a database which contains 4 tables, the main table contains information by date order and the other 3 contain data also in date...
2
by: Sami | last post by:
Could someone explain clearly how to go about doing this? I have tried setting up the structure on numerous occasions, but it never seems to work. Could someone please help me out? Thanks!
2
by: rlish | last post by:
I have a database with multiple tables that are all linked by a "site id" field. For any given record the site id field is identical within all the tables. Is there anyway to create a form with a...
1
by: San | last post by:
Hey, I have this problem to compile a big report from a few different tables. I can't lengthen a detail field of a report in design view to fit in all controls and text fields that I need. Is...
0
by: mike11d11 | last post by:
I have a form with a dataset that contains account records in one table and another table that contains transactions for accounts that are in the other table. I'm trying to create a report based...
7
convexcube
by: convexcube | last post by:
To keep a record of training levels for different tasks, I have 18 option groups with 4 options values each: 0 labelled as "None", 1 labelled as "Trainee", 2 labelled as "Competent" and 3 labelled as...
3
by: Freud52 | last post by:
I've developed a test that results in standard scores from 35 to 99. Now, i need to be able, when a score for a specific scale is, let's say, >=75 and <=84, to have a predefined block of text be...
6
by: Laure | last post by:
Hi all, I'm a C++ programmer trying to help out a friend with a VBA app someone else wrote for him years ago. Don't know a lot about VBA. There is a report in this app that has a particular...
2
by: samvb | last post by:
Hello All, I have a database with multiple tables. I need to be able to generate a report based on demand. That is, user to select which info needs to include in the report? SAM
4
by: slenish | last post by:
Hello all, Im having a problem getting a report to work with multiple tables. First let me give a little detail in to how im doing this. I am using a form to pull the report. I have a report...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
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,...
0
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
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...
0
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...
0
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,...

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.