Re: The word TYPE in search contexts and fields
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 16471
interpreted = N
texte = Michael:I tried some test cases here before I responded. You say this doesn't happen all the time? Sometimes it works as expected? The examples you gave are probably specific enough for me to test it here if it is easily reproducable.John.>At 2:05 PM -0800 3/6/98, John Hill is rumored to have typed:>>>> Yes, it is smart enough to distingush between eqshiptypedata= and>>shiptype= (that is, a field named shiptype and ship). The problem is>>probably something more subtle. What sort of a search are you doing, what>>is being returned, and what do you expect?>>>> John.>>Sometimes I do a find and replace in a database like so:>>[REPLACE>db=/DB.db&neSKUdatarq=[BLANK]&eqINVdatarq=3&neTYPEdatarq=ant]INV3=5[/REPLACE]>>T>his sometimes ignores the neTYPEdatarq arg.>>When I use this (TYPE field coming first),>[REPLACE>db=/DB.db&neTYPEdatarq=ant&neSKUdatarq=[BLANK]&eqINVdatarq=3]INV3=5[/REPLACE]>>e>verything works fine.>>[SEARCH db=/MYDB.db&WATITLEdatarq=concrete&TITLEword=ww&neTYPEdatarq=ant]>[FOUNDITEMS]>[TITLE], [TYPE]
>[/FOUNDITEMS]>[/SEARCH]>>has produced results with TYPE=ant, but using>[SEARCH db=/MYDB.db &neTYPEdatarq=ant&WATITLEdatarq=concrete&TITLEword=ww]>doesn't.>>I'm never able to reproduce it on command, but I know I'm not imagining it.>This all takes place when I'm using just small snippits of code on a test page.>>It's weird.>>Michael>>Michael Winston *By Phone!: (503)/652/8815 x341>Internet Coordinator *By e-mail!: michaelw@dhorse.com>Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
Michael:I tried some test cases here before I responded. You say this doesn't happen all the time? Sometimes it works as expected? The examples you gave are probably specific enough for me to test it here if it is easily reproducable.John.>At 2:05 PM -0800 3/6/98, John Hill is rumored to have typed:>>>> Yes, it is smart enough to distingush between eqshiptypedata= and>>shiptype= (that is, a field named shiptype and ship). The problem is>>probably something more subtle. What sort of a search are you doing, what>>is being returned, and what do you expect?>>>> John.>>Sometimes I do a find and replace in a database like so:>>[REPLACE>db=/DB.db&neSKUdatarq=[BLANK]&eqINVdatarq=3&neTYPEdatarq=ant]INV3=5[/REPLACE]>>T>his sometimes ignores the neTYPEdatarq arg.>>When I use this (TYPE field coming first),>[REPLACE>db=/DB.db&neTYPEdatarq=ant&neSKUdatarq=[BLANK]&eqINVdatarq=3]INV3=5[/REPLACE]>>e>verything works fine.>>[SEARCH db=/MYDB.db&WATITLEdatarq=concrete&TITLEword=ww&neTYPEdatarq=ant]>
[founditems]>[TITLE], [TYPE]
>[/FOUNDITEMS]>[/SEARCH]>>has produced results with TYPE=ant, but using>[SEARCH db=/MYDB.db &neTYPEdatarq=ant&WATITLEdatarq=concrete&TITLEword=ww]>doesn't.>>I'm never able to reproduce it on command, but I know I'm not imagining it.>This all takes place when I'm using just small snippits of code on a test page.>>It's weird.>>Michael>>Michael Winston *By Phone!: (503)/652/8815 x341>Internet Coordinator *By e-mail!: michaelw@dhorse.com>Dark Horse Comics, Inc. *By web!: http://www.dhorse.com/ John A. Hill, V.P. Marketing Pacific Coast SoftwareeCommerce / Web Developer Tools http://www.smithmicro.com
John Hill
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:
DB Size - MAX (2004)
Quantity (1998)
Practice runs ? (1997)
List Address Changed! (1998)
Live Webcasts (1999)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Removing [showif] makes a big difference in speed (1997)
Merging databases (1997)
Append problem w/" (1999)
WCS Newbie question (1997)
New command suggestion (was Modifying databasesmanually) (1997)
Buying sans cart (1997)
Explorer 3.0 (1997)
WebCatalog for Mac 2.0.1 Released (1997)
WebDNA 6.0 & MAC OS X Server 10.4.10 (2007)
Nested tags count question (1997)
listfiles sort?! (2005)
Math Bug (1999)
[isfile] ? (1997)
Don't tick me off :) [elaspedtime] (1997)