|
d00nson -> RE: Compare multiple variables in a DRr? (1/10/2002 8:35:52)
|
Hi Susan, Spooky! Just throwing in my 2cents worth. I was just reading Susan's 1st post, since she wanted to enter up to 3 zip codes and display all 3 side by side, can't she just have 3 text boxes in the same form, call the boxes "zip1, zip2, zip3" then submit to a page with a DRW and query with "SELECT * FROM table WHERE (zipcode=::zip1::) OR (zipcode=::zip2::) OR (zipcode=::zip3::) then put the DRW on a diet and hack it to display the data in 3 columns? This would give the compare side by side part that Susan wants. To solve the problem of if she wants to group the zips by country/county etc. and let the customer pick them instead of manually input prior to submitting to the comparison page, I would have 3 DRWs in a table with 3 columns, each column would be identical except for the last box in each column which would be the (zip1, zip2, zip3) I mentioned earlier containing the zipcode to be submitted. Then have multiple dropboxes in each column to progressively filter the results to produce the grouped zip codes. Hope this doesn't confuse matters more
|
|
|
|