[WebDNA] SQL Search

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104685
interpreted = N
texte = Seem to be having trouble searching a MySQL db, and am sure its the way I wrote the line. I don't have any trouble reading, or writing to it, so it has to be something I'm missing in the search. From Form: ------------------------------
Search
---------------------------------- Results page ---------------------------------- [SQLConnect dbType=MySQL&host=localhost&database=mydatabase&uid=ineeda&pwd=drink&conn_var=conn1] [/SQLConnect] [SQLExecute conn_ref=conn1&result_var=rs1] SELECT dealer, prod_desc FROM prod WHERE MATCH(dealer, prod_desc) AGAINST ('searchterm'); [/SQLExecute] [SQLResult result_ref=rs1] [numFound] records found
[FoundItems] [/FoundItems]
DealerProduct Description
[dealer][prod_desc]
[/SQLResult] ------------------------------- Is what I'm drinking not enough, or to much... hic.... any help would be appreciated. Rob Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] SQL Search (Rob 2010)
  2. Re: [WebDNA] SQL Search (Paul Willis 2010)
  3. [WebDNA] SQL Search (Rob 2010)
Seem to be having trouble searching a MySQL db, and am sure its the way I wrote the line. I don't have any trouble reading, or writing to it, so it has to be something I'm missing in the search. From Form: ------------------------------
Search
---------------------------------- Results page ---------------------------------- [SQLConnect dbType=MySQL&host=localhost&database=mydatabase&uid=ineeda&pwd=drink&conn_var=conn1] [/SQLConnect] [SQLExecute conn_ref=conn1&result_var=rs1] SELECT dealer, prod_desc FROM prod WHERE MATCH(dealer, prod_desc) AGAINST ('searchterm'); [/SQLExecute] [SQLResult result_ref=rs1] [numFound] records found
[founditems] [/FoundItems]
DealerProduct Description
[dealer][prod_desc]
[/SQLResult] ------------------------------- Is what I'm drinking not enough, or to much... hic.... any help would be appreciated. Rob Rob

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:

Multiple Pulldowns (1997) Using [showif] within [lineitems] (2000) syntax question, not in online refernce (1997) Thanks and Big News!!! (1997) restart needed???? (1997) PIXO support (1997) Incrementing a number (1998) Wanted: More Math Functions (or, Can You Solve This?) (1997) Mime Headers for Mail (1998) TRAINING videos - Prove IT. (1998) [WebDNA] DB problem solved (2011) WebCat2 - [format thousands] (1997) Separate SSL Server (1997) [WebDNA] Problem with Trigers. (2013) Add more fields to an existent data base (1997) Looking for a Manual (1997) WebCatalog [FoundItems] Problem - LONG - (1997) RE: ShowNext Command (1997) frames & carts (1997) Max Record length restated as maybe bug (1997)