Advertisement

05.31.2008 at 06:44PM PDT, ID: 23447537
[x]
Attachment Details

controling the sorting order of union query

Asked by sb9 in Access Forms, Microsoft Access Database, Access Coding/Macros

Tags: , ,

I am creating a book register for the office. Most of them are actually reports and guidelines from various government department. I have created a table called author to store the name of the organisation that authored the document and a table for the alternative org name. Then used a union query to amalgamate the org name and alt org name. See attached database.

That works reasonable well except that the org name in the form revert to an alt org name instead of the org name. The problem is that it is sorting the org alt name field of the union query.

does not accept entry that are not in the org table. So we have  a delema

when the org name is shown the alt org name  is not accepted.
when the alt org name is accepted the org name is not shown unless it has priority in alphabetical sorting.

I seems to me that this could be solved if there is away to force the records from the org table to appear first in the union query, that is
1) sort by org number
2) no alphabetical order in alt org name but records from org table must alway come before records from the org alternative table.



Can anyone assist

CheersStart Free Trial
[+][-]05.31.2008 at 07:07PM PDT, ID: 21685673

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.31.2008 at 07:58PM PDT, ID: 21685818

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Forms, Microsoft Access Database, Access Coding/Macros
Tags: Microsoft, MSAccess, 2003
Sign Up Now!
Solution Provided By: hnasr
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.31.2008 at 08:34PM PDT, ID: 21685941

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.31.2008 at 09:34PM PDT, ID: 21686041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2008 at 09:41AM PDT, ID: 21687600

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.01.2008 at 10:34AM PDT, ID: 21687793

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2008 at 01:54AM PDT, ID: 21690424

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.02.2008 at 03:59AM PDT, ID: 21690900

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 05:45PM PDT, ID: 21705762

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06.03.2008 at 11:20PM PDT, ID: 21707361

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208