Order by Clause

T

Twila

I'm utilizing a pre-designed template "Marketing Project Management Database"
and am experience a problem running some of the reports. Receiving the
message "the multi valued field 'Category' cannot be used in ORDER BY clause".

What do I need to do to correct the problem? I able to open all tables,
forms & queries without a problem.

Thanks.
 
G

golfinray

That is usually a problem in your query that drives the reports. You have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.
 
T

Twila

This is the query that was written and seemed to work when I 1st openned the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date] DESC;

Thanks.
 
K

KARL DEWEY

Do you have a multi valued field 'Category' in your table?

Open the reports in design view and check to see if there isn't some left
overs in the Grouping and Sorting that you need to remove.
--
KARL DEWEY
Build a little - Test a little


Twila said:
This is the query that was written and seemed to work when I 1st openned the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date] DESC;

Thanks.


golfinray said:
That is usually a problem in your query that drives the reports. You have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.
 
T

Twila

I've tried deleting the "Order by" line in the query, but still receive the
same message when trying to open the report. Any Suggestions????

Thanks.


Twila said:
This is the query that was written and seemed to work when I 1st openned the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date] DESC;

Thanks.


golfinray said:
That is usually a problem in your query that drives the reports. You have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.
 
T

Twila

I do have Multiple Values built into the Category field of my table. Am I
unable to run a query or report if this function is used?

Thanks.

KARL DEWEY said:
Do you have a multi valued field 'Category' in your table?

Open the reports in design view and check to see if there isn't some left
overs in the Grouping and Sorting that you need to remove.
--
KARL DEWEY
Build a little - Test a little


Twila said:
This is the query that was written and seemed to work when I 1st openned the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date] DESC;

Thanks.


golfinray said:
That is usually a problem in your query that drives the reports. You have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.

:

I'm utilizing a pre-designed template "Marketing Project Management Database"
and am experience a problem running some of the reports. Receiving the
message "the multi valued field 'Category' cannot be used in ORDER BY clause".

What do I need to do to correct the problem? I able to open all tables,
forms & queries without a problem.

Thanks.
 
G

Gina Whipp

Twila,

Try checking the OrderBy for the report...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Twila said:
I've tried deleting the "Order by" line in the query, but still receive
the
same message when trying to open the report. Any Suggestions????

Thanks.


Twila said:
This is the query that was written and seemed to work when I 1st openned
the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date]
DESC;

Thanks.


golfinray said:
That is usually a problem in your query that drives the reports. You
have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.

:

I'm utilizing a pre-designed template "Marketing Project Management
Database"
and am experience a problem running some of the reports. Receiving
the
message "the multi valued field 'Category' cannot be used in ORDER BY
clause".

What do I need to do to correct the problem? I able to open all
tables,
forms & queries without a problem.

Thanks.
 
T

Twila

Thanks everyone. I believe we have figured it out. Appreciate your
assistance.

Gina Whipp said:
Twila,

Try checking the OrderBy for the report...

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

Twila said:
I've tried deleting the "Order by" line in the query, but still receive
the
same message when trying to open the report. Any Suggestions????

Thanks.


Twila said:
This is the query that was written and seemed to work when I 1st openned
the
database. Do I need to delete the "Order by" line?
SELECT Projects.*
FROM Projects
WHERE (((Projects.Status)="Completed" Or (Projects.Status)="On Hold"))
ORDER BY Projects.Status DESC , Projects.Priority, Projects.[End Date]
DESC;

Thanks.


:

That is usually a problem in your query that drives the reports. You
have an
"orderby" where you need where, or max, min, last or one of the other
functions. Or you can't have order by for category in the query.

:

I'm utilizing a pre-designed template "Marketing Project Management
Database"
and am experience a problem running some of the reports. Receiving
the
message "the multi valued field 'Category' cannot be used in ORDER BY
clause".

What do I need to do to correct the problem? I able to open all
tables,
forms & queries without a problem.

Thanks.
 

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

Top