473,396 Members | 1,858 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.

Report Section Header Question

Hi,

I have a contacts report that groups and displays records according to
a 2-character state abbreviation, which is stored in the database. My
report displays the 2-character state abbreviation in the section
header, just as I want. However, now I want to print instead the full
name of the state in the report header instead of the abbreviation.
What is the best approach for doing this?

Thanks,

Brian
Jun 27 '08 #1
4 1627
On Jun 26, 6:46*pm, brianlas <br...@laselva.comwrote:
Hi,

I have a contacts report that groups and displays records according to
a 2-character state abbreviation, which is stored in the database. My
report displays the 2-character state abbreviation in the section
header, just as I want. However, now I want to print instead the full
name of the state in the report header instead of the abbreviation.
What is the best approach for doing this?

Thanks,

Brian
change your query to include a join to your 'state' table
and use the state name on your report
Jun 27 '08 #2
On Jun 26, 5:54*pm, Roger <lesperan...@natpro.comwrote:
On Jun 26, 6:46*pm, brianlas <br...@laselva.comwrote:
Hi,
I have a contacts report that groups and displays records according to
a 2-character state abbreviation, which is stored in the database. My
report displays the 2-character state abbreviation in the section
header, just as I want. However, now I want to print instead the full
name of the state in the report header instead of the abbreviation.
What is the best approach for doing this?
Thanks,
Brian

change your query to include a join to your 'state' table
and use the state name on your report
I'm confused about this. The control source is called
BusinessStateorProvince,
which is precisely the field that I specify in the Sorting and
Grouping dialog. Then,
in the header, I just have the BusinessStateOrProvince field in the
header. I don't
know where to put a query or how to change what's in the header. I've
done quite
a bit of VBA programming, but I seem to have a giant mental block
about this one.
Could you please elaborate (and don't assume I know very much,
apparently! ;-)

Thanks again,

Brian
Jun 27 '08 #3
On Jun 26, 7:23*pm, brianlas <br...@laselva.comwrote:
On Jun 26, 5:54*pm, Roger <lesperan...@natpro.comwrote:


On Jun 26, 6:46*pm, brianlas <br...@laselva.comwrote:
Hi,
I have a contacts report that groups and displays records according to
a 2-character state abbreviation, which is stored in the database. My
report displays the 2-character state abbreviation in the section
header, just as I want. However, now I want to print instead the full
name of the state in the report header instead of the abbreviation.
What is the best approach for doing this?
Thanks,
Brian
change your query to include a join to your 'state' table
and use the state name on your report

I'm confused about this. The control source is called
BusinessStateorProvince,
which is precisely the field that I specify in the Sorting and
Grouping dialog. Then,
in the header, I just have the BusinessStateOrProvince field in the
header. I don't
know where to put a query or how to change what's in the header. I've
done quite
a bit of VBA programming, but I seem to have a giant mental block
about this one.
Could you please elaborate (and don't assume I know very much,
apparently! ;-)

Thanks again,

Brian- Hide quoted text -

- Show quoted text -
businessStateorProvince is a field found in the report's recordsource
is it a field in a table or a query
if the recordsource is a query, join in the table that converts
abbreviations to names
if it's a table, create a new query using this table and the
stateOrProvince table, and use that query as the report's recordsource
Jun 27 '08 #4
On Jun 26, 7:35*pm, Roger <lesperan...@natpro.comwrote:
On Jun 26, 7:23*pm, brianlas <br...@laselva.comwrote:


On Jun 26, 5:54*pm, Roger <lesperan...@natpro.comwrote:
On Jun 26, 6:46*pm, brianlas <br...@laselva.comwrote:
Hi,
I have a contacts report that groups and displays records accordingto
a 2-character state abbreviation, which is stored in the database. My
report displays the 2-character state abbreviation in the section
header, just as I want. However, now I want to print instead the full
name of the state in the report header instead of the abbreviation.
What is the best approach for doing this?
Thanks,
Brian
change your query to include a join to your 'state' table
and use the state name on your report
I'm confused about this. The control source is called
BusinessStateorProvince,
which is precisely the field that I specify in the Sorting and
Grouping dialog. Then,
in the header, I just have the BusinessStateOrProvince field in the
header. I don't
know where to put a query or how to change what's in the header. I've
done quite
a bit of VBA programming, but I seem to have a giant mental block
about this one.
Could you please elaborate (and don't assume I know very much,
apparently! ;-)
Thanks again,
Brian- Hide quoted text -
- Show quoted text -

businessStateorProvince is a field found in the report's recordsource
is it a field in a table or a query
if the recordsource is a query, join in the table that converts
abbreviations to names
if it's a table, create a new query using this table and the
stateOrProvince table, and use that query as the report's recordsource- Hide quoted text -

- Show quoted text -
Roger, you saved my life! Thanks so much for your patience and clear
explanation. I'm a little embarrassed how easy it was to do, NOW THAT
I KNOW HOW TO DO IT (thanks to you). It's sometimes hard for me to get
my head around some of this, for some reason. ;-( Hope you lurk here
often, because if/when I get really stuck again, I'll turn here
first!

Again, thanks so much!!!

Brian
Jun 27 '08 #5

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

Similar topics

4
by: Me | last post by:
Hi all, I have an app in which I need to create a packing slip. I have designed in report designer. The data is pulled from a SQL database. My question is how can I put information from the...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
7
by: Ellen Manning | last post by:
I've got an A2K report showing students and their costs. Student info is in the main report and costs are in a subreport for each student. The user inputs the program desired then only those...
2
by: Tom | last post by:
This is related to an earlier post entitled "Text in Query/Numbers in Report" Brief recap - report has a query as a record source. The query shows the correct data, the report translating the...
1
by: David Horowitz | last post by:
Hi folks. I need to create a report that has a Group Header that pulls certain data from the Detail section. It's something like this: +--Report---------------------------------------- |...
3
by: touf | last post by:
hi, 1- I've a report (Crystal reports) created from a vb Form (crystalReportsViewer) How can I send it via email , In crystal report there is the possibility to export, but I didn't find a way to...
0
by: Arnold | last post by:
Hi Everyone; In a report, I've essentially recreated a paper sheet by adding various labels--name, date, problem, year, Progress Notes, etc.--and horizontal lines (people have traditionally...
13
by: Greg | last post by:
Most suggestions on this topic recommend to use a page footer and make it visible only on the last page. My problem is that the footer is half of the height of a page which means the detail would...
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,...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
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...
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.