473,498 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sorting Help

Don
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 it as it comes from the
form (random order). My problem is I don't know how to make this happen.
The report is sorted in ascending order and I don't know how to change that.
I see only two options, ascending or descending.
Can you help?
Thanks,
Don.....
Apr 14 '07 #1
3 2381
Have a look at the "Random sort via SQL in ASP" thread by Muskie 04/12/2007.
The solution thatI propsed there may work for your situation as well.

--
--
HTH,
Don
=============================
E-Mail (if you must) My*****@Telus.net

Disclaimer:
Professional PartsPerson
Amateur Database Programmer {:o)

I'm an Access97 user, so all posted code samples are also Access97- based
unless otherwise noted.

================================================== ========================

"Don" <vz******@verizon.netwrote in message
news:w04Uh.48$Yh.38@trndny03...
>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 it as it comes from the
form (random order). My problem is I don't know how to make this happen.
The report is sorted in ascending order and I don't know how to change
that.
I see only two options, ascending or descending.
Can you help?
Thanks,
Don.....


Apr 14 '07 #2

"Don" <vz******@verizon.netwrote
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 it as it comes from the form (random order).
My problem is I don't know how to make this
happen. The report is sorted in ascending order
and I don't know how to change that.
I see only two options, ascending or descending.
Can you help?
First, if you are implying that the Form is supplying the data to the
Report, that is in error. Whether or not you create the Report based on a
Form, the data for the Report comes from the Report's RecordSource.

Sorting in Reports is determined by the Sorting and Grouping property. If
you remove the name of the Field(s) from the Sorting and Grouping property,
then there will not be any sorting specified (as you mention, "ascending" or
"descending").

Reports do NOT default to the order in which the RecordSource is sorted --
if that's the way the data is displayed, it's just happenstance, but you
cannot COUNT on it being that way.

Larry Linson
Microsoft Access MVP
Apr 14 '07 #3
Order Number
Order Date and time
Don wrote:
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 it as it comes from the
form (random order). My problem is I don't know how to make this happen.
The report is sorted in ascending order and I don't know how to change that.
I see only two options, ascending or descending.
Can you help?
Thanks,
Don.....

Order Number
Order Date and time
Apr 16 '07 #4

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

Similar topics

4
2514
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
9
2549
by: jwedel_stolo | last post by:
Hi I'm creating a dataview "on the fly" in order to sort some data prior to writing out the information to a MS SQL table I have used two methods in order to determine the sort order of the...
12
2362
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that...
2
945
by: DelphiBlue | last post by:
I have a Nested Datagrid that is using a data relations to tie the parent child datagrids together. All is working well with the display but I am having some issues trying to sort the child...
19
25422
by: Owen T. Soroke | last post by:
Using VB.NET I have a ListView with several columns. Two columns contain integer values, while the remaining contain string values. I am confused as to how I would provide functionality to...
4
4263
by: FBM | last post by:
Hi, I am working on a program that simulates one of the elements of ATM. The simulation stores events which occurs every some milliseconds for a certain amount of time. Every time that an event...
4
3081
by: Ambica Jain | last post by:
Hi, I want custom sorting on some of the columns in the datagrid. And i am able to do the same by overriding MouseDown event. However, i need to rebind my datatable to reflect the changes in...
7
4793
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the...
6
4046
by: =?Utf-8?B?RGFu?= | last post by:
I am reposting a question from about 3 weeks ago ("sorting capability"). I have an aspx page in which I get the data from a database dynamically, through C# code, by creating a dynamic table...
5
4901
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
0
7125
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
7002
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
7165
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
7203
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
7379
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...
0
5462
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,...
0
4588
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...
0
3081
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
290
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.