sorting a datasheet in a form

scottappleford

Registered User.
Local time
Today, 22:50
Joined
Dec 10, 2002
Messages
134
Hi

I have a datasheet subform on an unbound form. but the data on the subform will not sort in ascending order.

I have used the ORDER BY in the table and form but it still will not do it??

Thanks
 
Have you tried basing your subform on a query instead?
 
Hi

I have heard of this alot - basing forms etc on queries but not sure how to do that?

Do i just create the query as i would the subform e.g. using the same fields and then let access create the link?

Thanks
 
Hi

Its funny because the subform sorts the fields - it is only when it is attached to an unbound form that it looses the sorting?

Thanks
 
While looking at the Data tab of the property sheet for the SubForm, clicking the Builder button "..." on the RecordSource row will invoke the query builder. You can determine sort order in the query builder. When installed as a subform are the Link Master/Child fields empty or filled in?
 
Thanks it all works now - a neat tool - thanks again for the help.

The link master field were empty as the main form was unbound it was just to show the subform in a nicer way.

Thanks again for keep replying till i solved the problem!
 

Users who are viewing this thread

Back
Top Bottom