Sorting in forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am administrating a medical contact database. We want the entries to be
alphabetatized by last name, then first name. A query of the databse sorts it
this, but the main form doesn't. How can I force the form to keep things in
oder this way.

Thanks
 
I am administrating a medical contact database. We want the entries to be
alphabetatized by last name, then first name. A query of the databse sorts it
this, but the main form doesn't. How can I force the form to keep things in
oder this way.

Thanks

Use the query as the record source for the form.
Include all of the fields used in the form and sort it the way you
wish.
 
Is there a way to do that without redesigning the form? Can I resassign all
of the feilds to the correct data so
 
Is there a way to do that without redesigning the form? Can I resassign all
of the feilds to the correct data so

You're not re-designing the form.
Just create a query (as you now have) using the fields you want in the
form. Sort the query as you will, i.e.

Select TableName.* from TableName Order by TableName.[LastName],
TableName.[FirstName];

On your current form, simply change the record source (it's on the
property sheet's Data tab) from the table to this query. It will take
5 seconds. Nothing else need be done.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top