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  

How do you maintain a sort in a sub-form?



 
 
Thread Tools Display Modes
  #1  
Old November 8th, 2006, 09:03 PM posted to microsoft.public.access.forms
Porous Metals Limited
external usenet poster
 
Posts: 1
Default How do you maintain a sort in a sub-form?

I have created a sub-form in a form, which I want updated by date (oldest to
newest); however, everytime I open the form to update the dates are newest to
oldest, and will print in that order. I have to use the AZ sort button on
each form when I open or print, and was wondering if there was a way to keep
the dates in oldest to newest order each time I go to update or print. I'm
not sure how all the property fields work when creating the form, so I do no
know what to do. Can anyone help.
  #2  
Old November 8th, 2006, 10:15 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default How do you maintain a sort in a sub-form?

Create a query that sorts the rows in the correct order, and use the query
as the recordsource for the form rather than the table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Porous Metals Limited"
wrote in message ...
I have created a sub-form in a form, which I want updated by date (oldest
to
newest); however, everytime I open the form to update the dates are newest
to
oldest, and will print in that order. I have to use the AZ sort button on
each form when I open or print, and was wondering if there was a way to
keep
the dates in oldest to newest order each time I go to update or print.
I'm
not sure how all the property fields work when creating the form, so I do
no
know what to do. Can anyone help.



 




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


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