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  

order by



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2005, 01:06 PM
external usenet poster
 
Posts: n/a
Default order by

What I am trying to do is update a table in the subform. The data being
display is horse number and name, rider name, and order number. The
combo box for horse number and name is based on a horse id field in the
table. The rider name is based on a rider id in the table. I want the
subform to be ordered by the horse number. From what I understand if I
use a query to get the data I want I will not be able to update the
table directly like I can when using the table itself as the
recordsource. Let me know what you think.

BruceM wrote:

If you base a form on a query rather than directly on the table you

can order by a field. I'm not sure what you mean by ordering the
subform data based on the value returned in the combo box. Do you want
the order to change based on the combo box selection?
" wrote:


I have a subform with three fields on it. The subform is based on a

table. One of the fields is setup as a combo box and I have a query that
I use to populate the combo box. The query returns data based on the id
of the field in the table. I would like to have the subform ordered by
the value returned in the first fields combo box. How can this be
accomplished.

Dale Brown



  #2  
Old April 19th, 2005, 02:03 PM
JohnFol
external usenet poster
 
Posts: n/a
Default

A query is updatable (within a few understandable restrictions)

wrote in message
...
What I am trying to do is update a table in the subform. The data being
display is horse number and name, rider name, and order number. The
combo box for horse number and name is based on a horse id field in the
table. The rider name is based on a rider id in the table. I want the
subform to be ordered by the horse number. From what I understand if I
use a query to get the data I want I will not be able to update the
table directly like I can when using the table itself as the
recordsource. Let me know what you think.

BruceM wrote:

If you base a form on a query rather than directly on the table you

can order by a field. I'm not sure what you mean by ordering the subform
data based on the value returned in the combo box. Do you want the order
to change based on the combo box selection?
" wrote:


I have a subform with three fields on it. The subform is based on a

table. One of the fields is setup as a combo box and I have a query that I
use to populate the combo box. The query returns data based on the id of
the field in the table. I would like to have the subform ordered by the
value returned in the first fields combo box. How can this be
accomplished.

Dale Brown





  #3  
Old April 19th, 2005, 02:49 PM
Klatuu
external usenet poster
 
Posts: n/a
Default

It depends on how you identify the query. The query must also be based on
one table.

"JohnFol" wrote:

A query is updatable (within a few understandable restrictions)

wrote in message
...
What I am trying to do is update a table in the subform. The data being
display is horse number and name, rider name, and order number. The
combo box for horse number and name is based on a horse id field in the
table. The rider name is based on a rider id in the table. I want the
subform to be ordered by the horse number. From what I understand if I
use a query to get the data I want I will not be able to update the
table directly like I can when using the table itself as the
recordsource. Let me know what you think.

BruceM wrote:

If you base a form on a query rather than directly on the table you

can order by a field. I'm not sure what you mean by ordering the subform
data based on the value returned in the combo box. Do you want the order
to change based on the combo box selection?
" wrote:


I have a subform with three fields on it. The subform is based on a

table. One of the fields is setup as a combo box and I have a query that I
use to populate the combo box. The query returns data based on the id of
the field in the table. I would like to have the subform ordered by the
value returned in the first fields combo box. How can this be
accomplished.

Dale Brown






  #4  
Old April 19th, 2005, 05:41 PM
Dirk Goldgar
external usenet poster
 
Posts: n/a
Default

"Klatuu" wrote in message

It depends on how you identify the query. The query must also be
based on one table.


Just a note: it is not necessarily the case that a query based on more
than one table is not updatable. Queries based on two tables in a
many-to-one relationship are generally updatable, provided that certain
conditions are met.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


  #5  
Old April 19th, 2005, 09:35 PM
Klatuu
external usenet poster
 
Posts: n/a
Default

I stand corrected

"Dirk Goldgar" wrote:

"Klatuu" wrote in message

It depends on how you identify the query. The query must also be
based on one table.


Just a note: it is not necessarily the case that a query based on more
than one table is not updatable. Queries based on two tables in a
many-to-one relationship are generally updatable, provided that certain
conditions are met.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)



 




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
Help with reporting...order details Nancy Setting Up & Running Reports 5 January 12th, 2005 03:06 AM
Top 20 and bottom 20 values Brian Camire Running & Setting Up Queries 9 January 8th, 2005 01:36 AM
How do I save address book entires in last name, first name order? Jim Berg Contacts 1 December 16th, 2004 08:49 PM
tab order MadDave General Discussion 1 August 24th, 2004 06:51 PM
Pointless rant about order of terms in functions Pete McCosh Worksheet Functions 8 March 17th, 2004 04:37 PM


All times are GMT +1. The time now is 11:29 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.