What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Searching a database...

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50547
interpreted = N
texte = on 21/5/03 4:38 pm, Marc Kaiwi at marc@kaiwi.com wrote:> You're surely on the right track as you've described below but why do > you need a categories database to cross reference the category numbers > in the products db? The reason for doing this is so that categories can be added independently of the products database. i.e. We may want to keep the footwear category for when we get new stock in.Another reason for this is that in our admin area you can choose a category you want a product to be displayed in when you are adding it.I wouldn't know exactly where to start with changing the logic to add the CAT instead of the ID to the products.db.Sorry... I'm still not to savvy with WebDNA yet....MHO call it what it is in the products db. > > Just as you've described you're going to simply nest a few searches to > build a list of categories containing their respective products. > > good luck, > > On Wednesday, May 21, 2003, at 08:26 AM, Alan White wrote: > >> Hi Everyone >> >> I am currently trying to add additional search features to our site >> and am >> trying to figure out how to make a menu that pulls out only the >> Categories >> (i.e.. footwear etc) that are in the products database and have an >> inventory >> of > 0. >> >> I haven't even tried to get the if inv > 0 working yet as it is the >> next >> task, all I want to be able to do at the moment is pull out the >> available >> categories and I should be able to do a lot of what I am trying to get >> done >> (here's hoping anyway). >> >> My products db is like follows:- >> >> ID SKU ... ... ... BRAND CATEGORY ... ... etc >> 1 blah 8 3 >> >> I have a Categories database which is just :- >> >> ID CAT >> 1 Footwear >> 2 Accessories >> etc >> etc >> >> I have successfully pulled all of the categories into a menu using the >> categories.db but then I realised this wasn't a very good idea as you >> may >> not have product in each category. >> >> This is the code I used:- >> >> ---------------------------------------------------- >> >> [search db=admin/category.db&neIDdatarq=find_all&CATEGORYsort=1] >> >> >> >> [founditems] >> > value=results.html?cart=[cart]&the_CAT=[ID]&search_type=_CAT&RA=[rando >> m][ra >> ndom][random]>[CAT] >> [/founditems] >> [/search] >> >> ---------------------------------------------------- >> >> I know I have to use something similar to:- >> >> [search db=admin/products.db&neCATEGORYdatarq=find_all&CATEGORYsumm=T] >> >> Followed by a nested lookup in my search results to get the Category >> title >> and display it but I'm afraid I'm getting a little lost. >> >> Hope someone can help... >> >> Alan >> ------------------------------ >> http://www.streethreds.com >> >> >> >> >> >> ------------------------------------------------------------- >> 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/ >> >> > Signed: Marc Kaiwi > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ Alan White

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:

WebCat2 - Getting to the browser's username/password data (1997) Netscape v. IE (1997) Shipping charge question (2003) WebCatb15 Mac CGI -- [purchase] (1997) all records returned. (1997) WebCatalog f2 Installation (1997) executing via commandline (2003) # of real domains on 1 web server (1997) Emailer [cart] file names (1997) insert graphic in email (2000) syntax question, not in online refernce (1997) FlushDatabase Suggestion (1998) Sorting error (1997) Ampersand (1997) truncating email part II (1997) WCS Newbie question (1997) [WebDNA] Bug reporting (2009) itools webcat atartup (2000) emailer error type 103 (1997) Purchased cart being overwritten - still !?? (1997)