Sorting problem in Access 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm having an issue with sorting in my report. Instead of beginning in the
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
Karen,

In your drop-down menus there's an icon called Sorting and Grouping. Click on
that icon. In the grid, enter the field name and the sorting option
(Ascending/Descending). Leave the bottom portion alone. Exit the grid and
save the report.

Hope this helps.

Sam
 
I've gone to design and to the Sorting and Grouping and listed the company
name in ascending order. Still doesn't help. I have a second sort for date
and eliminated that sort, but it continues to sort incorrectly. I'm
wondering if it isn't in the query or table design?
 
Doesn't matter, Karen. The Sorting and Grouping settings govern.

A different question: Is your report's company name control bound to the
report's record source's company name field, and is it the exact same name as
that field, or is it either 1) a different name, or 2) unbound but "fed" its
data by VBA?

Sam
I've gone to design and to the Sorting and Grouping and listed the company
name in ascending order. Still doesn't help. I have a second sort for date
and eliminated that sort, but it continues to sort incorrectly. I'm
wondering if it isn't in the query or table design?
[quoted text clipped - 10 lines]
 
I think we're getting close. Here is the structure...I'm a novice at design,
so please forgive my inability. The company name field is generated from a
table and the field is a lookup field. After review, the sort is defaulting
to the ID field of that table. Does that answer your question? I appreciate
your help.

OfficeDev18 via AccessMonster.com said:
Doesn't matter, Karen. The Sorting and Grouping settings govern.

A different question: Is your report's company name control bound to the
report's record source's company name field, and is it the exact same name as
that field, or is it either 1) a different name, or 2) unbound but "fed" its
data by VBA?

Sam
I've gone to design and to the Sorting and Grouping and listed the company
name in ascending order. Still doesn't help. I have a second sort for date
and eliminated that sort, but it continues to sort incorrectly. I'm
wondering if it isn't in the query or table design?
[quoted text clipped - 10 lines]
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.

It's either that, or...

Look in the Preoperty Sheet for the report itself. Check if the Order By
property has an entry. It might just mention the ID field. If it does, delete
it. And set Order By On to No.

Hope we really are getting closer, and you're welcome,

Sam
I think we're getting close. Here is the structure...I'm a novice at design,
so please forgive my inability. The company name field is generated from a
table and the field is a lookup field. After review, the sort is defaulting
to the ID field of that table. Does that answer your question? I appreciate
your help.
Doesn't matter, Karen. The Sorting and Grouping settings govern.
[quoted text clipped - 15 lines]
 
Checked both...It's not in either. It is sorting by the original table id
field, even though I don't have that in the query that I use to select the
data, and sorting 103..105..11..113..153..218.. These are the original ID
numbers. Is there some way to have it sort by that field..even though it
isn't in the query?

OfficeDev18 via AccessMonster.com said:
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.

It's either that, or...

Look in the Preoperty Sheet for the report itself. Check if the Order By
property has an entry. It might just mention the ID field. If it does, delete
it. And set Order By On to No.

Hope we really are getting closer, and you're welcome,

Sam
I think we're getting close. Here is the structure...I'm a novice at design,
so please forgive my inability. The company name field is generated from a
table and the field is a lookup field. After review, the sort is defaulting
to the ID field of that table. Does that answer your question? I appreciate
your help.
Doesn't matter, Karen. The Sorting and Grouping settings govern.
[quoted text clipped - 15 lines]
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
It's sorting as though the ID field were string, not numeric. Very weird.....

Sam
Checked both...It's not in either. It is sorting by the original table id
field, even though I don't have that in the query that I use to select the
data, and sorting 103..105..11..113..153..218.. These are the original ID
numbers. Is there some way to have it sort by that field..even though it
isn't in the query?
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.
[quoted text clipped - 20 lines]
 
Sorry Sam..Bad info. In the property grid for report yes is on in the Order
By ON, and [BP Copies Quarterly Query].Date is listed in the order by field.

OfficeDev18 via AccessMonster.com said:
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.

It's either that, or...

Look in the Preoperty Sheet for the report itself. Check if the Order By
property has an entry. It might just mention the ID field. If it does, delete
it. And set Order By On to No.

Hope we really are getting closer, and you're welcome,

Sam
I think we're getting close. Here is the structure...I'm a novice at design,
so please forgive my inability. The company name field is generated from a
table and the field is a lookup field. After review, the sort is defaulting
to the ID field of that table. Does that answer your question? I appreciate
your help.
Doesn't matter, Karen. The Sorting and Grouping settings govern.
[quoted text clipped - 15 lines]
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
What happens when you delete the Order By info, and/or set order By On to No?
Does it sort correctly now?

Sam
Sorry Sam..Bad info. In the property grid for report yes is on in the Order
By ON, and [BP Copies Quarterly Query].Date is listed in the order by field.
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.
[quoted text clipped - 20 lines]
 
Sorry Sam..No change.

OfficeDev18 via AccessMonster.com said:
What happens when you delete the Order By info, and/or set order By On to No?
Does it sort correctly now?

Sam
Sorry Sam..Bad info. In the property grid for report yes is on in the Order
By ON, and [BP Copies Quarterly Query].Date is listed in the order by field.
It follows then, Karen, that the ID field must appear in the Sorting and
Grouping grid. Delete it.
[quoted text clipped - 20 lines]
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
OK, Karen. Now go into Sorting and Grouping and enter the company name and
ascending order and try it again.
make sure there are no other entries on top of this. If there are, delete
them.

Sam
Sorry Sam..No change.
What happens when you delete the Order By info, and/or set order By On to No?
Does it sort correctly now?
[quoted text clipped - 9 lines]
 
No change..

OfficeDev18 via AccessMonster.com said:
OK, Karen. Now go into Sorting and Grouping and enter the company name and
ascending order and try it again.
make sure there are no other entries on top of this. If there are, delete
them.

Sam
Sorry Sam..No change.
What happens when you delete the Order By info, and/or set order By On to No?
Does it sort correctly now?
[quoted text clipped - 9 lines]
A's it starts with the C's and then runs through the alphabet..then starts
with the A's
 
Karen,

When all else fails....

Would you mind ZIPping up your database and uploading it here so I can take a
closer look?

Sam
No change..
OK, Karen. Now go into Sorting and Grouping and enter the company name and
ascending order and try it again.
[quoted text clipped - 10 lines]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top