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

Issue when creating a NEW SORTING LEVEL in a REPORT

135 100+
Hello,

I have a report with some product information and i needed to create a NEW SORTING LEVEL with some TOTAL calculations which where located at the REPORT FOOTER, just so that they could be well aligned and close to its information on the level above. The only problem is that when i run the report it asks me to "ENTER PARAMETER VALUE" and shows the name of the new sorting level.

Is there any way to eliminate this? is there any property/option or some code i could use??

Thanks
Sep 10 '07 #1
4 1493
puppydogbuddy
1,923 Expert 1GB
Hello,

I have a report with some product information and i needed to create a NEW SORTING LEVEL with some TOTAL calculations which where located at the REPORT FOOTER, just so that they could be well aligned and close to its information on the level above. The only problem is that when i run the report it asks me to "ENTER PARAMETER VALUE" and shows the name of the new sorting level.

Is there any way to eliminate this? is there any property/option or some code i could use??

Thanks
You should base the sorting level on a field in your field list, using the sorting/grouping tool of the report designer. If this new level is derived from a calculated field of some kind, then create the new level as a column in your query. In order to help any further, you need to provide more details about this new sorting level.
Sep 10 '07 #2
Gilberto
135 100+
You should base the sorting level on a field in your field list, using the sorting/grouping tool of the report designer. If this new level is derived from a calculated field of some kind, then create the new level as a column in your query. In order to help any further, you need to provide more details about this new sorting level.
Thanks for the reply

This new level ONLY displays some calculations (totals) from the fields that are on top of it (i am using only the footer) and the only reason i created it was for a better physical "display" of the calculations. I dont really need to store this calculations on a table or as any field, and the level itself its NOT sorting anything, i just needed the space in between some headers/footers.

Do i NEED to create the fields or columns in a query in order to eliminate the ERROR ("enter parameter value") or is there another way?

Thanks
Sep 10 '07 #3
puppydogbuddy
1,923 Expert 1GB
Thanks for the reply

This new level ONLY displays some calculations (totals) from the fields that are on top of it (i am using only the footer) and the only reason i created it was for a better physical "display" of the calculations. I dont really need to store this calculations on a table or as any field, and the level itself its NOT sorting anything, i just needed the space in between some headers/footers.

Do i NEED to create the fields or columns in a query in order to eliminate the ERROR ("enter parameter value") or is there another way?

Thanks
You do not need the calc control in your query, but if the calculations are based on values from other fields in the table, those fields should be in the query. The calcs themselves, should not be stored in the table.
Sep 10 '07 #4
mlcampeau
296 Expert 100+
Thanks for the reply

This new level ONLY displays some calculations (totals) from the fields that are on top of it (i am using only the footer) and the only reason i created it was for a better physical "display" of the calculations. I dont really need to store this calculations on a table or as any field, and the level itself its NOT sorting anything, i just needed the space in between some headers/footers.

Do i NEED to create the fields or columns in a query in order to eliminate the ERROR ("enter parameter value") or is there another way?

Thanks
In order to avoid the "Enter Parameter Value" prompt, you must choose a sort field that exists in your field list. That's why it was suggested that maybe you add the calculations to your query, then it would be in your field list. Another thing you could try, is using one of your fields in your field list and creating a footer for it, and placing your calculations in that footer. Just be careful that it doesn't mess up the sorting that you are trying to achieve.
Sep 10 '07 #5

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

Similar topics

22
by: mike | last post by:
If I had a date in the format "01-Jan-05" it does not sort properly with my sort routine: function compareDate(a,b) { var date_a = new Date(a); var date_b = new Date(b); if (date_a < date_b)...
0
by: AR Hall | last post by:
This code goes through 3 work sheets in the same XL workbook, day, eve and night shift in each sheet their are columns representing production work orders and reject and downtime for each order...
3
by: ahaque38 | last post by:
Hello. Using A2K SP3, I am having the following problem with a report using "Sorting and Grouping". I have recently added a grouping in the reports for "Category2<>'CONTRACTS'". I have...
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
5
by: Mike | last post by:
Hello All, I have a report based upon a query. I have added a control to report footer that calcs the total cost of the inventory: =SUM(). When this total calculation is NOT on the report,...
5
by: Ralph | last post by:
Hi Everyone, I need some help!! I'm not sure if you could do this, but I want to be able to create a report based on one field in the database. This field contains File Paths like for example: ...
3
by: Don | last post by:
I have a "Report" that is created from a "Form". It prints a list of items, you may consider it a shopping list. In any event I use to run this in alphabetical order but have since decided to run...
4
by: fniles | last post by:
I create a thread where I pass thru a message. When I click very fast many times (like 50 times) to create 50 threads, the message did not get pass thru ProcessMessage. For example: strBuffer =...
3
by: Tim Olson | last post by:
I'm using a form to pass parameters to a query, with results displayed in a report. Currently, I'm using parameters as filter criteria in the query, and everything is running smoothly (or so it...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
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.