473,657 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1770
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.comwrot e in message
news:11******** *************@g 37g2000prf.goog legroups.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...@localh ost.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.comwrot e in message

news:11******** *************@g 37g2000prf.goog legroups.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.comwrot e
>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
2792
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 ACC2K2 (SP-2) -------------- ---------------------------
3
3705
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 a spreadsheet might show, the column names will actually be dynamic, based on data from a SQL Server 2000 database. The row data will also come from the same database. So in this case, I will have a main report and a subreport. I've already tried...
3
12120
by: Melissa | last post by:
What specifically causes the Format event of a report's section to fire? Thanks! Melissa
1
5174
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 other reports. All the reports are page-numbered consecutively in the order they are printed (there are 7 reports in total, with about 60 pages in all). I am having an issue with one of my reports returning a seemingly incorrect page count,...
12
2229
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, so I created report version 2. I want a same Command Button to open the appropriated version report for the specific month. I create a table with the following Fields: Month, ReportID, ReportToOpen (this is the exact report name). On a form,...
6
9413
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 report" button located on my form to print all of the list box values (that have been updated via selection from combo boxes) from the form to the report. I've tried using a macro with the code: Macro Name: cmdGenerateReport : On Click Action:...
3
3002
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
3529
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 print the report three times, but do not know how
10
2132
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 (using ConvertReportToPDF from this site - Stephan Lebans) The formatting - Outlines on some fields - do not appear on subreports
0
8392
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
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8726
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...
1
8503
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8603
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...
1
6163
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
5632
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
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.