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

Report Parameters Problem

Missionary
In creating a report, I played around with making calculated text boxes that called for parameters as follows:
=[Word?] & [Other Word?]
Now, I think I've figured it out, and I have deleted my first attempts.
My problem now is that every time I preview the report it still askes me for those orrigional parameters even though the text boxes are gone. How do I stop the report from prompting me for these values?

Thanks alot.
Jan 17 '08 #1
8 3418
jaxjagfan
254 Expert 100+
In creating a report, I played around with making calculated text boxes that called for parameters as follows:
=[Word?] & [Other Word?]
Now, I think I've figured it out, and I have deleted my first attempts.
My problem now is that every time I preview the report it still askes me for those orrigional parameters even though the text boxes are gone. How do I stop the report from prompting me for these values?

Thanks alot.
The parameters are most likely in the queries that drive the report. If you want to display the sum of 2 text boxes on your report or something similar then create a third textbox with: =mytext1+mytext2

I don't like embedding my parameters in my queries if I can get away with it. Normally I drive my reports from a form and the end-user enters or selects the parameter values. You can use the Expression Builder to help define the criteria in the reports datasource.
Jan 17 '08 #2
Thanks for the tip on using a form for parameters. My query doesn't have any parameters anymore, but the report still asks for those first values every time I preview it. Even f I change the report's data source to a different query, it still asks for them. I really don't want to make my report all over again. How can I get rid of those report parameters?
Thanks a ton.

Missionary


The parameters are most likely in the queries that drive the report. If you want to display the sum of 2 text boxes on your report or something similar then create a third textbox with: =mytext1+mytext2

I don't like embedding my parameters in my queries if I can get away with it. Normally I drive my reports from a form and the end-user enters or selects the parameter values. You can use the Expression Builder to help define the criteria in the reports datasource.
Jan 18 '08 #3
jaxjagfan
254 Expert 100+
Thanks for the tip on using a form for parameters. My query doesn't have any parameters anymore, but the report still asks for those first values every time I preview it. Even f I change the report's data source to a different query, it still asks for them. I really don't want to make my report all over again. How can I get rid of those report parameters?
Thanks a ton.

Missionary
Just some thoughts ...
Do you have textboxes or other controls that are bound to fields that don't exist?
Any subreports? Any groupings or subtotals that are asking for the parameters? Did you check the query parameter properties?
Jan 18 '08 #4
Just some thoughts ...
Do you have textboxes or other controls that are bound to fields that don't exist?
Any subreports? Any groupings or subtotals that are asking for the parameters? Did you check the query parameter properties?
There are no controls bound to deleted fields
No Subreports.
I checked Query Parameters and there weren't any.

After some experimentation I was able to repeat the problem:
First you have a text box where the Control Source is something like the following:
=[Surname] & ", " & [Name]
where [Name] and [Surname] are fields in the source query.
Then you delete the fields from the query while the textbox is still in the report. Then, even if you delete the textbox, the report will still ask you for the parameters when you preview it.

I hope that helps. What can I do to get rid of them? I certainly apreciate your help.

-Missionary
Jan 22 '08 #5
jaxjagfan
254 Expert 100+
There are no controls bound to deleted fields
No Subreports.
I checked Query Parameters and there weren't any.

After some experimentation I was able to repeat the problem:
First you have a text box where the Control Source is something like the following:
=[Surname] & ", " & [Name]
where [Name] and [Surname] are fields in the source query.
Then you delete the fields from the query while the textbox is still in the report. Then, even if you delete the textbox, the report will still ask you for the parameters when you preview it.

I hope that helps. What can I do to get rid of them? I certainly apreciate your help.

-Missionary
What about report groupings? If you create a group in the report and then delete the group in the query ot table you will get the prompts as well.
Jan 22 '08 #6
What about report groupings? If you create a group in the report and then delete the group in the query ot table you will get the prompts as well.
Ah, you've hit that one on the head. I did use one of them as a grouping in the report, then deleted the textbox. How do I get rid of the grouping on my report?

I have a total of three "ghost" parameters. One that was the grouping, and two that I used in the "equation" that I talked about in my last post.

Now I guess we've identified the problem. We're getting there!
Jan 24 '08 #7
I'm still struggling with this problem. Any ideas on how to get rid of these parameters?
Feb 3 '08 #8
jaxjagfan
254 Expert 100+
I'm still struggling with this problem. Any ideas on how to get rid of these parameters?

Make sure you get rid of the group in the report as well as the "groupings". It doesn't give you the ability to delete those just clear the entry so it is blank. Check any formulas and subtotals as well.
Feb 4 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

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...
8
by: Mark Flippin | last post by:
This is for a reporting problem using: Access 2000 SQL Server 2000 Both at SP3 I've a stored procedure in SQL Server 2000 which builds a result set from a disparate set of tables, utilizing...
1
by: Fred Zuckerman | last post by:
I have 8 reports that I want to run. Each report is only about 6-7 lines long. I'd like to get them all on a single page. So I created a parent report and made each of the 8 desired reports a...
8
by: lauren quantrell | last post by:
When I open an Access form I can have no recordset specified, then in the form's OnOpen event I can do something like: Me.paramaters = "@SomeColumn = 22)" Me.recordsource = "dbo.sproc123" But I...
2
by: Bob | last post by:
I'm new to Access projects and SQL server and am not a veteran VB programmer. There's a cry for help! I'm attempting to print the current form on screen by using a command button which the user...
12
by: Bill Nguyen | last post by:
What's the VB syntax to run the CR report using the following SP? I use CrystalreportViewer and ReportDocument. Thanks Bill Here's the SP in SQLserver 2K: CREATE proc mysp_ReportSubmission...
0
by: Alison Givens | last post by:
Hi all, I have been suffering with this problem for weeks now. I tried several newsgroups, but nobody can tell me how to solve this problem. The problem: I have a webform that shows a Crystal...
0
by: bonita | last post by:
In my ASP.NET page, I have 2 checkboxes for users to choose which crystal report they want to display. These two reports use different tables. If report1 has been choosen and displayed in the...
0
by: kamboj.shalabh | last post by:
Hi to all, Well, I am working on dotnet 2005 with crystal reports 10 and backend as sql server. I am facing a problem while loading a report. Actually the issue is, when I load report it takes...
0
by: rakeshc | last post by:
Hi, I am a new guy in jasper and iReport. I could create a report and subreport successfully with iReport. while running through iReport, it will ask for parameters and after supplying them,...
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...
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...
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
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,...

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.