Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Choosing a sort method?

Status
Not open for further replies.

billmsacces

Programmer
Feb 2, 2004
16
0
0
US
I am currently working on a database that has a name field and date field. Is it possible to write a code that would sort the records by date or by name, depending on what was needed at the time?
Thanks.
Bill
 
Bill,


The there is an option know as Query By Form (QBF)

that will allow you to have your criteria used in the form

drive your query. Take a look at the following link -


What happens in the event of nothing being selected is the query will return all the records that are available.

HTH,


Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top