Re: convertWords... NEW

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36689
interpreted = N
texte = Is the tempborrar.db already open by WebCat (from a previous test, perhaps) prior to your [writefile]? If so, then WebCat is accessing an obsolete RAM copy of the DB... Try putting a [closedatabase db/tempborrar.db] before your [writefile].- brianAt 4:49 PM 6/25/2001, Kalin Mintchev wrote: >ok. i got this to write the file i wanted: > >tempborrar.db >and after written looks like this: > >number >10000164 >10000142 >10000132 > > >what's wromg with the code below? why does the search return 0 items? > >the permissions are ok, the path to the db doesn't change eather.. > >i tryed [closedatabase] tag too after [writefile] it didn't do anything... > >help please.... > > >[writefile db/tempborrar.db]number[ListWords Words=[some]&Delimiters=,] >[word][/ListWords] >[/writefile] > > > >[search db=db/tempborrar.db&grnumberdata=0] >[numfound] >[founditems] > >[number]
>[/founditems] >[/search] > > > > > >On Mon, 25 Jun 2001, Kalin Mintchev wrote: > >> >> got it... thanks to everybody... >> >> should've thought of [listwords] >> >> thanks... >> >> >> On Mon, 25 Jun 2001, Brian Stodola wrote: >> >> > Kalin >> > You could try [grep search=,&replace=\r][variable][/grep] >> > Brian >> > >> > > From: Kalin Mintchev >> > > Reply-To: (WebCatalog Talk) >> > > Date: Mon, 25 Jun 2001 13:30:36 >> > > To: (WebCatalog Talk) >> > > Subject: convertWords... >> > > >> > > >> > > hi >> > > >> > > i have this problem: >> > > have a form variable passed like this: 312312,12344,232343,234324,... >> > > >> > > i'd like to do [writefile] where this variable is brokenlike this: >> > > 312312 >> > > 12344 >> > > 232343 >> > > 234324... >> > > >> > > i tried convertwords (WC 4) to replace the comma with carrige return but >> > > it doesn't do it. >> > > how can i do that? >> > > >> > > thanks >> > > >> > > ------------------------------------------------------------- >> > > 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/ >> > >> > >> > ------------------------------------------------------------- >> > 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/ >> > >> >> > > >------------------------------------------------------------- >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/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: convertWords... NEW (Kalin Mintchev 2001)
  2. Re: convertWords... NEW (Brian Stodola 2001)
  3. Re: convertWords... NEW (Kalin Mintchev 2001)
  4. Re: convertWords... NEW (Kalin Mintchev 2001)
  5. Re: convertWords... NEW (Brian Fries 2001)
  6. Re: convertWords... NEW (Glenn Busbin 2001)
  7. Re: convertWords... NEW (Anup Setty 2001)
  8. Re: convertWords... NEW (Kalin Mintchev 2001)
  9. Re: convertWords... NEW (Glenn Busbin 2001)
  10. convertWords... NEW (Kalin Mintchev 2001)
Is the tempborrar.db already open by WebCat (from a previous test, perhaps) prior to your [writefile]? If so, then WebCat is accessing an obsolete RAM copy of the DB... Try putting a [closedatabase db/tempborrar.db] before your [writefile].- brianAt 4:49 PM 6/25/2001, Kalin Mintchev wrote: >ok. i got this to write the file i wanted: > >tempborrar.db >and after written looks like this: > >number >10000164 >10000142 >10000132 > > >what's wromg with the code below? why does the search return 0 items? > >the permissions are ok, the path to the db doesn't change eather.. > >i tryed [closedatabase] tag too after [writefile] it didn't do anything... > >help please.... > > >[writefile db/tempborrar.db]number[ListWords Words=[some]&Delimiters=,] >[word][/ListWords] >[/writefile] > > > >[search db=db/tempborrar.db&grnumberdata=0] >[numfound] >[founditems] > >[number]
>[/founditems] >[/search] > > > > > >On Mon, 25 Jun 2001, Kalin Mintchev wrote: > >> >> got it... thanks to everybody... >> >> should've thought of [listwords] >> >> thanks... >> >> >> On Mon, 25 Jun 2001, Brian Stodola wrote: >> >> > Kalin >> > You could try [grep search=,&replace=\r][variable][/grep] >> > Brian >> > >> > > From: Kalin Mintchev >> > > Reply-To: (WebCatalog Talk) >> > > Date: Mon, 25 Jun 2001 13:30:36 >> > > To: (WebCatalog Talk) >> > > Subject: convertWords... >> > > >> > > >> > > hi >> > > >> > > i have this problem: >> > > have a form variable passed like this: 312312,12344,232343,234324,... >> > > >> > > i'd like to do [writefile] where this variable is brokenlike this: >> > > 312312 >> > > 12344 >> > > 232343 >> > > 234324... >> > > >> > > i tried convertwords (WC 4) to replace the comma with carrige return but >> > > it doesn't do it. >> > > how can i do that? >> > > >> > > thanks >> > > >> > > ------------------------------------------------------------- >> > > 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/ >> > >> > >> > ------------------------------------------------------------- >> > 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/ >> > >> >> > > >------------------------------------------------------------- >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/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.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://search.smithmicro.com/ Brian Fries

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:

emailer (1997) Probably a very simple question? (1997) Upgrading old WebCat Database Files (1997) [SHOWIF AND/OR] (1997) re: Large databases in WebCat (1997) Multiple prices per product (2004) variables in [addlineitem] (1998) [OT] Dedicated Image Uploader/Server [/OT] (2003) Sandboxes & Kitty Litter trays (2003) Ampersand (1997) WC2.0 Memory Requirements (1997) PCS Frames-Default page is solution! (1997) trouble updating records in database (1998) Protecting Files (how to display vs. present a link to (2005) P1: How to make webcatalog more stable. - LONG (1999) Emailer (1997) WebCat b13 CGI -shownext- (1997) [ShowNext] (1997) PCS Emailer's role ? (1997) Verify entry into a text field (2005)