Re: SMSI: closedatabase then replacefounditems inside thesame searchcontext ...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41881
interpreted = N
texte = Kenneth Grome wrote: > Does the theory go something like this?: > > 1- webcat performs the search and identifies the matching records by > their index values. > 2- webcat closes the db -- which makes webcat LOSE the list of matching > index values it has just created. > 3- webcat tries to replacefounditems but fails: > -because the db has been closed, or > -because the list of index matching records no longer exists. > > Or is there a better description of what actually happens inside webcat > in this situation?Let's see, you opened a database and performed a search, then closed the database and still expected WebCat to magically return the values from the search? That's like the old joke: Patient - Doctor it hurts when I do this Doctor - Then don't do that!I expect your analysis is correct; it doesn't matter which variant of step 3 is true. Take out the [replacefounditems] and I bet you won't even get anything in the [lineitems] context. Don't expect to be able to close a database in the middle of an operation affecting that database...John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: SMSI: closedatabase then replacefounditems inside thesame searchcontext ... (John Peacock 2002)
Kenneth Grome wrote: > Does the theory go something like this?: > > 1- webcat performs the search and identifies the matching records by > their index values. > 2- webcat closes the db -- which makes webcat LOSE the list of matching > index values it has just created. > 3- webcat tries to replacefounditems but fails: > -because the db has been closed, or > -because the list of index matching records no longer exists. > > Or is there a better description of what actually happens inside webcat > in this situation?Let's see, you opened a database and performed a search, then closed the database and still expected WebCat to magically return the values from the search? That's like the old joke: Patient - Doctor it hurts when I do this Doctor - Then don't do that!I expect your analysis is correct; it doesn't matter which variant of step 3 is true. Take out the [replacefounditems] and I bet you won't even get anything in the [lineitems] context. Don't expect to be able to close a database in the middle of an operation affecting that database...John-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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://search.smithmicro.com/ John Peacock

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.0 [format thousands .0f] no go (1997) Is WebCat 3.0 necessary for calculating shipping? (2000) File Upload (1997) Clear command and ShoppingCart.tmpl (1997) Dreamweaver Extensions for WC (2000) WebCat2 several catalogs? (1997) IIS4/WebCat3.0 Authentication (1999) WebCat editing, SiteGuard & SiteEdit (1997) Superfilous Characters (1998) Storebuilder (2000) Calendar (1997) Re2: frames & carts (1997) Another question about credit cards (1997) Record size (1998) WebCat2b15MacPlugin - [protect] (1997) [WriteFile] problems (1997) [WriteFile] problems (1997) [SearchString] problem with [search] context (1997) SKU lookup (1997) extending webDNA (2004)