D dealwi8me Registered User. Local time Tomorrow, 00:45 Joined Jan 5, 2005 Messages 187 Apr 26, 2006 #1 Hello all, How can i get the records of a form based on a field ascending order (not the primary key), when i open it? Thank you in advance.
Hello all, How can i get the records of a form based on a field ascending order (not the primary key), when i open it? Thank you in advance.
ansentry Access amateur Local time Tomorrow, 09:45 Joined Jun 1, 2003 Messages 995 Apr 26, 2006 #2 Base your form on a query (using the table as the source) you can then sort by any field in the query.
Base your form on a query (using the table as the source) you can then sort by any field in the query.
Smart Registered User. Local time Today, 22:45 Joined Jun 6, 2005 Messages 436 Apr 26, 2006 #3 Create a query that selects all the required fields and sort on the field you require. Base the form on that query Or if the form is based on the table,look at form properties , data then type the field you want to sort on in the order by section
Create a query that selects all the required fields and sort on the field you require. Base the form on that query Or if the form is based on the table,look at form properties , data then type the field you want to sort on in the order by section
D dealwi8me Registered User. Local time Tomorrow, 00:45 Joined Jan 5, 2005 Messages 187 May 2, 2006 #4 Ok both ways worked! Thank you both