Re: database search help

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51031
interpreted = N
texte = WebDNA has 3 types of data num text and date. In a search you have to define them to get appropriate results.&Datetype=dateHowever, I don't think it is a good Idea to have a field name named date as it is a reserved word in WebDNA. I would rename the field to theDATE or something and call it by that.HTH, DonovanLi Yang wrote:> hi, > > I need search from a database Orders.db which contence Name, Date, so on. I > want to display all records which the Date after a perior as 12/2/02, but > after i did this below, it display the date after 12/2/02 and the year of > 2001's, also did not show the next years record because the month is smaller > than 12. > > [search db=Orders.db&grDatedata=12/02/2002 &Datesort=1] > > any help? thanks!!!!!! > > Li ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: database search help (Li Yang 2003)
  2. Re: database search help (Donovan home EHG 2003)
  3. Re: database search help (Andrew Simpson 2003)
  4. database search help (Li Yang 2003)
WebDNA has 3 types of data num text and date. In a search you have to define them to get appropriate results.&Datetype=dateHowever, I don't think it is a good Idea to have a field name named date as it is a reserved word in WebDNA. I would rename the field to theDATE or something and call it by that.HTH, DonovanLi Yang wrote:> hi, > > I need search from a database Orders.db which contence Name, Date, so on. I > want to display all records which the Date after a perior as 12/2/02, but > after i did this below, it display the date after 12/2/02 and the year of > 2001's, also did not show the next years record because the month is smaller > than 12. > > [search db=Orders.db&grDatedata=12/02/2002 &Datesort=1] > > any help? thanks!!!!!! > > Li ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Donovan home EHG

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:

bulletin board (2002) RE: protect tag on NT (1997) Searching for all records (1998) Orderfile Vars (2003) Multiple Ad databases? (1997) Re:2.1 pricing? (1998) add to cart within a page? (1997) Adding Shipping Fields (1999) Summing Fields (1998) archives down (2001) email [title] (1997) RE: Automatic thumbnail images (1998) [WebDNA] Debian Lenny, Lighttpd and WebDNA FastCGI ... (2010) Cart Numbers (1997) [REPLACE] problems (2001) Security Issue (1997) Size images (2002) Another question (1997) UPPERCASE (1997) [/application] error? (1997)