What's wrong with this replace?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43691
interpreted = N
texte = Hi there,For some reason, the replace below is not replacing... as far as I can tell, the code is pretty straightforward. The search finds 5 records, then gives each of them a variable name _Q4_[index] which matches the fieldnames of the other database. It definitely creates the variables, as they display. But it doesn't write them to the DB.... [search db=temp/select_[cart].db&grSUBJECT_VALUEdata=0&SUBJECT_VALUEsort=1&SUBJECT_VALUEsdir=as] [founditems] [TEXT show=f]_Q4_[index]=[SUBJECT_NAME][/TEXT]
[/founditems] [/search][replace db=temp/responses.db&eqSKUdata=[cart]]Q4_1=[url][_Q4_1][/url]&Q4_2=[url][_Q4_2][/url]&Q4_3=[url][_Q4_3][/url]&Q4_4=[url][_Q4_4][/url]&Q4_5=[url][_Q4_5][/url][/replace] [COMMITDATABASE db=temp/responses.db][_Q4_1]
[_Q4_2]
[_Q4_3]
[_Q4_4]
[_Q4_5]
All help greatly appreciated.Regards, Tim ------------------------------------------------------------- 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: What's wrong with this replace? (Tim Robinson 2002)
  2. Re: What's wrong with this replace? (Tim Robinson 2002)
  3. Re: What's wrong with this replace? (Alain Russell 2002)
  4. Re: What's wrong with this replace? (Tim Robinson 2002)
  5. Re: What's wrong with this replace? (Alain Russell 2002)
  6. What's wrong with this replace? (Tim Robinson 2002)
Hi there,For some reason, the replace below is not replacing... as far as I can tell, the code is pretty straightforward. The search finds 5 records, then gives each of them a variable name _Q4_[index] which matches the fieldnames of the other database. It definitely creates the variables, as they display. But it doesn't write them to the DB.... [search db=temp/select_[cart].db&grSUBJECT_VALUEdata=0&SUBJECT_VALUEsort=1&SUBJECT_VALUEsdir=as] [founditems] [TEXT show=f]_Q4_[index]=[SUBJECT_NAME][/TEXT]
[/founditems] [/search][replace db=temp/responses.db&eqSKUdata=[cart]]Q4_1=[url][_Q4_1][/url]&Q4_2=[url][_Q4_2][/url]&Q4_3=[url][_Q4_3][/url]&Q4_4=[url][_Q4_4][/url]&Q4_5=[url][_Q4_5][/url][/replace] [COMMITDATABASE db=temp/responses.db][_Q4_1]
[_Q4_2]
[_Q4_3]
[_Q4_4]
[_Q4_5]
All help greatly appreciated.Regards, Tim ------------------------------------------------------------- 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/ Tim Robinson

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:

Country & Ship-to address & other fields ? (1997) Help w/ Duplicating The General Store 5 times. (1997) [WebDNA] TCPConnect DATA= REQUEST_DENIED You must use an API key to (2019) OK, here goes... (1997) Limit on nested [ShowIf]'s? (1997) unix permissions theory applied to db security? Or...? (2000) The beginning (1997) Secure Server (1997) Mac Vs WindowsNT (1997) Problem with broken images (2004) Payment calculator ?? (2000) WebSite and *NO* Authentication Dialog Box!!? (1998) Site Check (2006) Potential Conflicts? (1997) RE: type 2 errors with ssl server (1997) RE: 2nd WebCatalog2 Feature Request (1996) WebCat2: multiple currency support (1997) 2.0 Info (1997) Max Record length restated as maybe bug (1997) Public beta 2 for WebCatalog 4.0 is now available. (2000)