|
Add "®IONfbrk=3D;" to =your search. "fbrk" specifies the break characters for the field's =value. "wbrk" specifies the break characters for the comparison value =you are passing in.Brian =FriesBrainScan =SoftwareOn Sep 1, 2011, at 12:54 AM, Stuart Tremain =wrote:Hi =GuysI have a product db that sells different product =to different regions.The db looks something =like thisSKU PRODUCTNAME = REGION1 red = = .com;2 = blue = = .com;.com.au;3 = green = .com.au;4 = yellow = =.co.ukAs you can see I am determining the =regions from the HTTP_HOST - [ListMIMEHeaders =name=3DHTTP_HOST][value][/ListMIMEHeaders]I am having a bit of a =problem with the search thoughThis works OK due to =.co.uk[SEARCH =db=3D^data/celmecproducts.db&woREGIONSdatarq=3D.co.uk®IONword=3D=ww®IONSwbrk=3D;]But if I use .com the green =product also shows ( I should only get red & blue)I could do the db in a different format but it =would be nice to get this to work.Any ideas ??Thanks :)
DOWNLOAD WEBDNA NOW!
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...