Re: Forms Search Questions

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11432
interpreted = N
texte = >*2) How to do a combination AND search triggered from a webpage with >several different options pop-up lists? I understand how to hard code a >combination search using the comma, but how do you achieve the same thing >as a form?In general, you put rq at the end of any field you want to be required to match (which is the same as AND). >*3) Is there a wildcard search syntax like * or ? that would let me type in >john* in a form text field and retrieve Johnson, Johnston, John123, etc.?It's effectively wildcarded already: searching for john will find Johnson and LeJohn. If you want to force the match to look at only the first letters of the database field, use Begins With, as in bwLastNamedata>*4) How to present retrieved results in a table 3 columns wide and 5 rows >tall per page? I read here recently how to color the Nth returned record by >seeing if the index was divisible by N, but that was in a single column >model....That can get tricky, but the technique is to use [showif] when divisible by the number of columns (and set max=15 so you only get 3x5 per page). [foundItems] [field] [showif [index]\3][/showif] [/foundItems] The [showif] above notices whenever 3 columns have been output, and closes off that row and starts another rowGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Forms Search Questions (Grant Hulbert 1997)
  2. Re: Forms Search Questions (Kenneth Grome 1997)
  3. Re: Forms Search Questions (Jacques VERNAY 1997)
  4. Re: Forms Search Questions (Christer Olsson 1997)
  5. Re: Forms Search Questions (Christer Olsson 1997)
  6. Re: Forms Search Questions (Kenneth Grome 1997)
  7. Forms Search Questions (Richard Shapiro 1997)
>*2) How to do a combination AND search triggered from a webpage with >several different options pop-up lists? I understand how to hard code a >combination search using the comma, but how do you achieve the same thing >as a form?In general, you put rq at the end of any field you want to be required to match (which is the same as AND). >*3) Is there a wildcard search syntax like * or ? that would let me type in >john* in a form text field and retrieve Johnson, Johnston, John123, etc.?It's effectively wildcarded already: searching for john will find Johnson and LeJohn. If you want to force the match to look at only the first letters of the database field, use Begins With, as in bwLastNamedata>*4) How to present retrieved results in a table 3 columns wide and 5 rows >tall per page? I read here recently how to color the Nth returned record by >seeing if the index was divisible by N, but that was in a single column >model....That can get tricky, but the technique is to use [showif] when divisible by the number of columns (and set max=15 so you only get 3x5 per page). [founditems] [field] [showif [index]\3][/showif] [/foundItems] The [showif] above notices whenever 3 columns have been output, and closes off that row and starts another rowGrant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

checksum for credit cards? (1997) Moment of Thanks (1997) Mac Programs (1998) Getting total number of items ordered (1997) 4.x in production update (2000) Suggestion: appendfounditems (2002) question: webmerchant connection (1997) NetForms for mail, sorry (1998) Categorizing by data (2001) [group] ? (1997) The Guru Speaks (1998) searching withe db up three directories not working (1999) database size? (1997) [WebDNA] Cacheing include files (2015) Field name-subcategory (1997) showcart is slow (1998) OK, here goes... (1997) Quit revisited (1997) Robert Minor duplicate mail (1997) (2000)