A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sort Form by Combo Box Text



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2005, 05:54 PM
David
external usenet poster
 
Posts: n/a
Default Sort Form by Combo Box Text

Is there a way to sort a form on a non-bound column of a combo box? For
example, in a form with a record source set to a table of books, the
"Category" combo box has its bound column set to the category ID column and
displays the category text, but the category text isn't in the recordset of
the form. Is there a way to sort the form on "Category" without changing the
record source of the form?
Thanks in advance!
David


  #2  
Old May 7th, 2005, 06:50 AM
John Vinson
external usenet poster
 
Posts: n/a
Default

On Fri, 06 May 2005 16:54:57 GMT, "David"
wrote:

Is there a way to sort a form on a non-bound column of a combo box? For
example, in a form with a record source set to a table of books, the
"Category" combo box has its bound column set to the category ID column and
displays the category text, but the category text isn't in the recordset of
the form. Is there a way to sort the form on "Category" without changing the
record source of the form?


Not efficiently.

Why not base the Form on a query joining the books table to the
Category table, and sorting by category? With a single, simple join
like this you won't be hurting the updatability of the form.

John W. Vinson[MVP]
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo Box (1st) Populating Text Box (2nd) Field AccessRookie Using Forms 1 April 6th, 2005 11:37 PM
Combo Box & Text Box AccessRookie Using Forms 3 April 6th, 2005 11:33 PM
Requerying a pop up form to display in the main form Jennifer P Using Forms 13 April 5th, 2005 06:59 PM
Dates in a listbox connected to a form... RusCat Using Forms 13 November 25th, 2004 02:31 AM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM


All times are GMT +1. The time now is 09:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.