473,797 Members | 3,174 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to report on fields from another table?

Sorry, CDMA, I searched this NG on several combinations of words, but
I didn't find a relevant hit, so here's my newbie question:

I have an Access 2002 table which contains data extracted from Oracle
9i for a specific date. The table is then queried and about 15
different reports are generated, based upon those queries. My problem
is that I'm now developing several new reports (I haven't used Access
since 1996) and I discovered that each report contains a label with
the specific date of the Oracle extract.

I don't want to have to manually edit that text label on 15-20 reports
each day the extract is loaded (which typically is weekly, but
somethings it's 2-3 times a week). I created a table called
Master_Date with 1 field (Master_Extract _Date) which is type
Date/Time. I want to be able to insert the extract date into that
field, save the table, then have each report use that field as the
source of the date.

I tried setting the control source on the report field - my original
entry was:

=[Master_Date]![Master_Extract_ Date]

However, when I save the changes and close the properties box (or vice
versa) the brackets are removed from the entry and I get the following
error:

The MS Jet database engine does not recognize 'Master_Date' as a valid
field name or expression.

I *have* tried HELP, but I must be missing some Access-specific
terminology because I'm still stuck...

TIA,
Glenn
Nov 12 '05 #1
1 1843
Glenn,

Put the following expression in the control source of a textbox on your reports:

= DLookup("[Master_Extract_ Date]","[Master_Date]")

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"Glenn P." <gp@westarweb.c om> wrote in message
news:be******** *************** ***@posting.goo gle.com...
Sorry, CDMA, I searched this NG on several combinations of words, but
I didn't find a relevant hit, so here's my newbie question:

I have an Access 2002 table which contains data extracted from Oracle
9i for a specific date. The table is then queried and about 15
different reports are generated, based upon those queries. My problem
is that I'm now developing several new reports (I haven't used Access
since 1996) and I discovered that each report contains a label with
the specific date of the Oracle extract.

I don't want to have to manually edit that text label on 15-20 reports
each day the extract is loaded (which typically is weekly, but
somethings it's 2-3 times a week). I created a table called
Master_Date with 1 field (Master_Extract _Date) which is type
Date/Time. I want to be able to insert the extract date into that
field, save the table, then have each report use that field as the
source of the date.

I tried setting the control source on the report field - my original
entry was:

=[Master_Date]![Master_Extract_ Date]

However, when I save the changes and close the properties box (or vice
versa) the brackets are removed from the entry and I get the following
error:

The MS Jet database engine does not recognize 'Master_Date' as a valid
field name or expression.

I *have* tried HELP, but I must be missing some Access-specific
terminology because I'm still stuck...

TIA,
Glenn

Nov 12 '05 #2

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

Similar topics

3
2336
by: Grim Reaper | last post by:
I know this is probably an easy question, but I could not find/figure it out. Basically, I am printing mailing labels with a "Sorting/Grouping" section that groups the label types together. Also, I am using a "Report Header" to show a count of how many total labels that are being printed. Now, my problem is that without the "Report Header", the spacing is perfect. But, when I add the Report Header, it gets shifted downwards and the...
3
3359
by: Edward | last post by:
ACCESS 2k I need to design a report based on a rota system for staff at various shops. The data is effectively stored in a single table, along the lines of: Initials (e.g. BH, FG, RM etc.) Day (e.g. Monday, Tuesday etc.) Shop (e.g. Shop1, Shop2 etc.) StartTime (e.g. 8, 13 etc.)
9
1785
by: MLH | last post by:
Trouble is, it doesn't happen every time. Yesterday, for example, it happened only once and not again afterward. Some days ago, a similar situation. Today, well - I tried 7 times straight to open the report and each time, A97 shuts down. The seemingly hit 'n miss nature of the error is intriguing. All I've been able to determine is that if I allow the report to be opened from within code using this line... DoCmd.OpenReport...
7
2421
by: manning_news | last post by:
I've got a report that's not sorting correctly. I build a SQL statement and assign it to the recordsource in the Open event, sorting the data the way the user chooses. The user can choose up to 3 sorts using a form that opens before the report opens. When the report previews, it ignores the users' sort request and always sorts by the primary key even though ORDER BY is explicity set to another field other than primary key. If I copy...
1
1899
by: Andy_Khosravi | last post by:
I'm having trouble building a query to gather the information I need from a table. I need to be able to assemble an inventory report that displays receipts, output, and running inventory from a table named tblHistory. My setup: I am running A97. I have one table called tblIssues linked in a one-to-many-relationship with a table called tblHistory. The tblIssues table contains the issue header information, while the tblHistory table...
69
8089
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...
3
18721
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however, working with complex reports is tricky Assumption: Reader of this article have basic knowledge of creating data reports. Creating a Parent-Child Command and create a DataReport Suppose we have a database called company with two tables ...
4
4236
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)
1
1363
by: billa856 | last post by:
Hi, My project is in MS Access 2002. In that I have one Form which enter data in two different Tables, when I click on Submit Button it will run two diffrent queries one by one. Now I want to generate Report from that Tables. But I don't know how can I put Fields from two different Tables in Report's Detail Section. If Feilds are from only one Table than I can set Report's Record Source property to that TableName.\ But I don't know how to...
6
5457
by: Brett Barry: Go Get Geek! | last post by:
Hello, I have a main report with a Record Source, a DateToday table, that has the current Month and Year. I have about 60 queries, each pulling different data via ODBC, that I am creating subreports that go on the main report. The problem is that when I run the report the data shows on the screen but not the print preview. I am aware that the main report is not linked to the subreports because of the Link Master, Child Fields issue....
0
9685
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
10468
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
10245
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...
0
10021
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
9063
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
7559
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
6802
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
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
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

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.