473,385 Members | 1,372 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,385 software developers and data experts.

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 1809
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******@pcdatasheet.com
www.pcdatasheet.com
"Glenn P." <gp@westarweb.com> wrote in message
news:be**************************@posting.google.c om...
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
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....
3
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.)...
9
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...
7
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...
1
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...
69
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...
3
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,...
4
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...
1
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...
6
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.