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

Report help

Hi guys,

I'm in need of a little help with a report I'm setting up on Access
2000. The report shows data depending on entries on a form that has 7
fields (Min and Max Cost, Fiscal Year, Min and Max Award Dates,
Reviewer, Engineer). Some of these fields may have wild card
characters (*) and some real data in them. The problem I have is when
the user hits the Go button I need to have some text fields on the
report show data from the input form or if a wild card character was
used then the relevant text field on the report should display the
message "All Reviewers" (or something to that effect.

The form itself will stay open in the background so there shouldn't be
any problems pulling data from it but I need some help on, a) how to
get the data from the form to the report, and b) how to have the
report read the wild card characters that may be contained on the
report and substitute the relevant text in place of them.

Many thanks for any help you can offer.

All the best, Dean...

Jun 13 '07 #1
3 1755
Lacking more specific information, the following general suggestion is
likely all I can offer: In the Open event of the Report, you can retrieve
the entries from the Form that is still open, and use VBA code to construct
the SQL/Query to use as the RecordSource of the Report.

(And, if you did provide necessary detail, I'm not sure whether some might
consider that they would be "developing your database for you for free" --
both SQL and VBA are subjects that require some study and effort.)

Larry Linson
Microsoft Access MVP
"DeanL" <de*************@yahoo.comwrote in message
news:11*********************@g37g2000prf.googlegro ups.com...
Hi guys,

I'm in need of a little help with a report I'm setting up on Access
2000. The report shows data depending on entries on a form that has 7
fields (Min and Max Cost, Fiscal Year, Min and Max Award Dates,
Reviewer, Engineer). Some of these fields may have wild card
characters (*) and some real data in them. The problem I have is when
the user hits the Go button I need to have some text fields on the
report show data from the input form or if a wild card character was
used then the relevant text field on the report should display the
message "All Reviewers" (or something to that effect.

The form itself will stay open in the background so there shouldn't be
any problems pulling data from it but I need some help on, a) how to
get the data from the form to the report, and b) how to have the
report read the wild card characters that may be contained on the
report and substitute the relevant text in place of them.

Many thanks for any help you can offer.

All the best, Dean...

Jun 13 '07 #2
On Jun 13, 11:11 am, "Larry Linson" <boun...@localhost.notwrote:
Lacking more specific information, the following general suggestion is
likely all I can offer: In the Open event of the Report, you can retrieve
the entries from the Form that is still open, and use VBA code to construct
the SQL/Query to use as the RecordSource of the Report.

(And, if you did provide necessary detail, I'm not sure whether some might
consider that they would be "developing your database for you for free" --
both SQL and VBA are subjects that require some study and effort.)

Larry Linson
Microsoft Access MVP

"DeanL" <deanpmlonghu...@yahoo.comwrote in message

news:11*********************@g37g2000prf.googlegro ups.com...
Hi guys,
I'm in need of a little help with a report I'm setting up on Access
2000. The report shows data depending on entries on a form that has 7
fields (Min and Max Cost, Fiscal Year, Min and Max Award Dates,
Reviewer, Engineer). Some of these fields may have wild card
characters (*) and some real data in them. The problem I have is when
the user hits the Go button I need to have some text fields on the
report show data from the input form or if a wild card character was
used then the relevant text field on the report should display the
message "All Reviewers" (or something to that effect.
The form itself will stay open in the background so there shouldn't be
any problems pulling data from it but I need some help on, a) how to
get the data from the form to the report, and b) how to have the
report read the wild card characters that may be contained on the
report and substitute the relevant text in place of them.
Many thanks for any help you can offer.
All the best, Dean...
Hmmm, interesting,

I came here under the belief that this is a group dedicated to helping
others look for solutions to problems that they have in Access/SQL.
If I was looking for someone to "developing your database for you for
free" then I probably wouldn't be looking for just help with a single
problem. What I did ask was if anyone could help with a single report
out of the 49 other reports that currently exist in that database and
the single form out of the other 47 that exist in that database that I
have already developed along with over 120 queries, 31 tables, 19
modules and 12 macros. I apologise if this was too much to ask of a
community that "prides" itself on helping other with less knowledge
but the only reason I asked is that this task has recently been passed
to me and there is a very imminent deadline.

Once again, I apologise and will no longer use this forum.

Many thanks.

Jun 13 '07 #3
"DeanL" <de*************@yahoo.comwrote
>Lacking more specific information, the following general suggestion is
likely all I can offer: In the Open event of the Report, you can retrieve
the entries from the Form that is still open, and use VBA code to
construct
the SQL/Query to use as the RecordSource of the Report.

(And, if you did provide necessary detail, I'm not sure whether some
might
consider that they would be "developing your database for you for
free" --
both SQL and VBA are subjects that require some study and effort.)
Once again, I apologise and will no longer
use this forum.
No need to get your feelings hurt and act all snippy.

Are you conversant in SQL and VBA? That is, I am certain, what it will take
to address your problem. If you provide me the name of the Form, the name
of the Controls, the name of the Fields to which the information applies,
and how it applies, and the SQL of the basic Query, and I write you a few
lines of code that construct the simple WHERE clause for one or two of the
criteria, will that be meaningful to you?

To be honest, from your question, it was not clear that it would be.

This newsgroup IS here to provide help, and we do (a number of us have
provided thousands of answers), and sometimes even code. If you can, in
fact, make use of and extend the VBA code, provide the details of what you
have and we will see what we can do to help.

Larry Linson

Jun 13 '07 #4

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

Similar topics

5
by: MGFoster | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've converted an ACC97 .mdb file to an ACC2K2 .adp. A report that worked in ACC97 doesn't work in ACC2K2. Report setup: ACC97 ...
3
by: CSDunn | last post by:
Hello, I have a situation with MS Access 2000 in which I need to display report data in spreadsheet orientation (much like a datasheet view for a form). If you think of the report in terms of what...
3
by: Melissa | last post by:
What specifically causes the Format event of a report's section to fire? Thanks! Melissa
1
by: VBSponge | last post by:
Hi all. In A2K i have a report with a control bound to to calculate the page count for the report. I need to retrieve this page count from the report, and build it into a TOC containing this an...
12
by: Orchid | last post by:
Hello all, I have different version of reports which used for different months. For example, I am using report version 1 up to September, but we have some design changes on the report for October,...
6
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...
3
by: jambonjamasb | last post by:
Hi I have two tables: email_tbl Data_table Data table is is used to create a Form Data_form
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
10
by: sara | last post by:
Hi - I have a report that is 14 columnar sub-reports (Line up: Position- holders in each of our 14 locations - Manager, Assistant Manager, Receiving, Office, etc). I output directly to PDF...
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:
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
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
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
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...
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
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
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
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...

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.