Re: Selecting sort fields

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30851
interpreted = N
texte = At 5:10 PM 4/24/00, Wilkins, John wrote: >In addition to the search criteria, I want the user to be able to pick the >sorption fields for the results page linked to from the FORM. I'd like to >allow for a three level sort. The user could pick the fields for sorting >from a drop down list of any number of fields. The user would do this for >each of the primary, secondary, and third sort levels.Go to the database helper application. Build a dummy database with about 4 or five fields. You're not really going to use this database, so the field names are irrelevant. Follow the process allowing database helper to make you test database.Then look in the folder on your hard drive for the database that database helper just created. In there you will see a number of tpl files. Look for Search.tpl and Results.tpl. They work together. In Search.tpl, you will see how to set up a user generated sort on any field in your database. Learn the concept and you can apply it to your database.___Joe___ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Selecting sort fields (Joseph D'Andrea 2000)
  2. Selecting sort fields (Wilkins, John 2000)
At 5:10 PM 4/24/00, Wilkins, John wrote: >In addition to the search criteria, I want the user to be able to pick the >sorption fields for the results page linked to from the FORM. I'd like to >allow for a three level sort. The user could pick the fields for sorting >from a drop down list of any number of fields. The user would do this for >each of the primary, secondary, and third sort levels.Go to the database helper application. Build a dummy database with about 4 or five fields. You're not really going to use this database, so the field names are irrelevant. Follow the process allowing database helper to make you test database.Then look in the folder on your hard drive for the database that database helper just created. In there you will see a number of tpl files. Look for Search.tpl and Results.tpl. They work together. In Search.tpl, you will see how to set up a user generated sort on any field in your database. Learn the concept and you can apply it to your database.___Joe___ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Joseph D'Andrea

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Images in WebCat (2000) WebCatalog can't find database (1997) WebCatalog for guestbook ? (1997) No luck with taxes (1997) [date] insanity! (2001) WebCommerce: Folder organization ? (1997) Using [sendmail] for mass mailings (2001) Overwriting databases bug in [closedatabase], garbage filescreated (1998) Cache Access Error (2000) Max Record length restated as maybe bug (1997) Quit revisited (1997) 4.0 Mac OS 9 -> 4.5 Mac OS X (2002) [SHOWIF]s and empty arguments (1997) Can you do this??? and other stuff (1997) syntax question, not in online refernce (1997) Do the [date] thing... (2001) WebCat2.0 [format thousands .0f] no go (1997) Sort Order on a page search (1997) Stop the madness. (1997) Re:2nd WebCatalog2 Feature Request (1996)