Re: Feature Request: [moverecord]

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52161
interpreted = N
texte = Except that doesn't delete the moved records from the old db... Regards, -- Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Monday, August 11, 2003, at 11:06 AM, Donovan wrote: > Hows 'bout: > > [function name=moverecord] > [Search db=xx.db&eqIDdata=[theID]] > [FoundItems] > [Replace > db=YY.db&eqIDdata=[theID]]field1=[field1]&field2=[field2][/Replace] > [/FoundItems] > [/Search] > [/function] > > > Then call like: > [moverecord theID=[theID]] > > Donovan > > > > > WJ Starck wrote: >> It'd be nice if WebDNA had a [moverecord] context that would move >> records from one db to another, and then delete the moved records >> from the first db. >> Something like >> [moverecord >> from=db1&to=db2&eqrecordiddatarq=[recordid]]field1=[field1]&field2=[fi >> el d2]...[/moverecord] >> Where recordid could be any search parameter(s) as in the [replace] >> context >> This would be nice for archiving database records to trim the size of >> existing databases to increase performance. >> Also, It'd be great this context would create the "to" file by >> copying the database headers from the "from" file if the "to" file >> doesn't already exist. >> Regards, >> -- > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE > Eucalyptus Design > Developer / Consultant > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > P.O. Box 260153 > Madison, WI 53726-0153 > > PH:> 1.608.592.3567 > email:> dbrooke@euca.us > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > > ------------------------------------------------------------- > 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Feature Request: [moverecord] ( Phillip Bonesteele 2003)
  2. Re: Feature Request: [moverecord] ( WJ Starck 2003)
  3. Re: Feature Request: [moverecord] ( Brian Fries 2003)
  4. Re: Feature Request: [moverecord] ( WJ Starck 2003)
  5. Re: Feature Request: [moverecord] ( Donovan 2003)
  6. Feature Request: [moverecord] ( WJ Starck 2003)
Except that doesn't delete the moved records from the old db... Regards, -- Will Starck NovaDerm Skincare Science http://www.novaderm.com wjs@novaderm.com On Monday, August 11, 2003, at 11:06 AM, Donovan wrote: > Hows 'bout: > > [function name=moverecord] > [Search db=xx.db&eqIDdata=[theID]] > [founditems] > [Replace > db=YY.db&eqIDdata=[theID]]field1=[field1]&field2=[field2][/Replace] > [/FoundItems] > [/Search] > [/function] > > > Then call like: > [moverecord theID=[theID]] > > Donovan > > > > > WJ Starck wrote: >> It'd be nice if WebDNA had a [moverecord] context that would move >> records from one db to another, and then delete the moved records >> from the first db. >> Something like >> [moverecord >> from=db1&to=db2&eqrecordiddatarq=[recordid]]field1=[field1]&field2=[fi >> el d2]...[/moverecord] >> Where recordid could be any search parameter(s) as in the [replace] >> context >> This would be nice for archiving database records to trim the size of >> existing databases to increase performance. >> Also, It'd be great this context would create the "to" file by >> copying the database headers from the "from" file if the "to" file >> doesn't already exist. >> Regards, >> -- > > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > DONOVAN D. BROOKE > Eucalyptus Design > Developer / Consultant > <-Web Development (specializing in eCommerce), -> > <-Graphic Design, and Pre-Press Consultation -> > > ADDRESS:> Donovan Brooke > DBA Eucalyptus Design > P.O. Box 260153 > Madison, WI 53726-0153 > > PH:> 1.608.592.3567 > email:> dbrooke@euca.us > Web:> http://www.euca.us > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o > > > ------------------------------------------------------------- > 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/ WJ Starck

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:

WebCat2b15MacPlugin - showing [math] (1997) More ways to search the docs (1998) Date errors? (1999) [WebDNA] Feature requests - date format (2009) Help! WebCat2 bug (1997) Locking up with WebCatalog... (1997) Refering page (1998) Hosts who have upgraded to v5.0? (2003) WebCat2_Mac RETURNs in .db (1997) exclamation mark... (1999) WCS Newbie question (1997) Webcat causing crashes left and right! (1997) Credit Card Number checking (1997) URGENT: BUG, woFIELDdata & FIELDword=ww (2002) [append] and SSL (1997) MacWEEK article help needed (1996) How can I record purchases to a database? (1998) web delivery (1997) RAM variables (1997) A link and two command (1998)