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

Unbound control changes sorting of data

I am using Access 2007. Created a contribution database for a non-profit. Created parameter query that displays contributions for a specified time period using the "Between [Beginning] And [End]" parameter. The query sorts by company then last name. Created a report that uses the query as the data source. Displays data per the query. When I put an unbound control in the Report Footer or Header to count the number of contributions the names get sorted by First Name. The same happens if I delete the count and add an unbound control to sum up the contributions. If I delete the unbound controls then the sort goes back to Last Name. Can not find the problem. Created the report twice with the same effect.
May 13 '10 #1

✓ answered by NeoPa

You need to set your sorting up in the report under Sorting and Grouping.
That's your problem then. You need to set the sorting in the report as otherwise it will make it's own mind up as to which sort order suits it best.

5 1956
NeoPa
32,556 Expert Mod 16PB
Do you have Sorting and Grouping set in this report?
May 14 '10 #2
@NeoPa
No. I do not need any grouping and I did the sort in the query. adding that unbound control in the footer changes the sort from Last name to First name
May 14 '10 #3
NeoPa
32,556 Expert Mod 16PB
You need to set your sorting up in the report under Sorting and Grouping.
That's your problem then. You need to set the sorting in the report as otherwise it will make it's own mind up as to which sort order suits it best.
May 14 '10 #4
@NeoPa
That indeed was the problem. Thank you.
May 19 '10 #5
NeoPa
32,556 Expert Mod 16PB
A pleasure John :)
May 19 '10 #6

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

Similar topics

3
by: mork | last post by:
I've got a form with AllowEdit = False. On it is a tab control, one of the tab pages has an unbound listbox which fetches data from another table. I am unable to select items in the listbox. ...
2
by: Georges Heinesch | last post by:
Hi. I cannot change the value of an unbound control (txtSR and txtSS) within a sub call. I explain ... my sub (SRSS_set) takes the date (type date) as input, and returns 2 values (type time). ...
0
by: Bob Bykerk | last post by:
Hyperlinks work fine when using bound controls but when I try to get one to work on an unbound control (with hyperlink? = true) I can't insert a hyperlink or use the data as a hyperlink. I have...
3
by: Trevor Hughes | last post by:
I am trying to resolve a problem I'm experiencing in Access 2000. I have an unbound control which is set be code on the open event of a form. However when I try to subsequently run some code...
1
by: Jim M | last post by:
To prevent data corruption I have replaced a memo field on my form with an unbound control on my form that I populate with a function that fills it from a memo field from my table. When the form is...
0
by: Barbara Schmidt | last post by:
Hello, if I get the data from db with sqldatasource-control, how to show this data to an unbound control, so for instance: label1.text=sqldatasourceWHAT-TO-DO-NOW Thanks Barbara
3
by: scott_baird | last post by:
Probably something simple, but it's driving me up the wall... In a report, I have an unbound control that is the total of 2 other bound controls (currency) as follows: unbound control =cash1 +...
1
by: jjjoic | last post by:
Hi, I use Access 2003 to generate the back-end data for a ColdFusion report at work. The report is sorted by a column and based on the sorting, rankings are assigned to each row(i.e. the biggest...
1
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar...
3
KevinADC
by: KevinADC | last post by:
If you are entirely unfamiliar with using Perl to sort data, read the "Sorting Data with Perl - Part One and Two" articles before reading this article. Beginning Perl coders may find this article...
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
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
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...
0
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
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...

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.