Re: Prevent multiple appends with Reload Button

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15475
interpreted = N
texte = Instead of doing an [append] you can use [replace] but include the tag append=T (i.e. [replace append=T&...]). This will append if it's not found, but just replace the data with itself if they replace the data.John.>When all the new customer information in cust.db has been verified, the >following appends a new record. > >[append db=cust.db]firstname=[firstname]&lastname=[lastname][/append] > >So far so good. > >However, if the new customer clicks on Reload, a duplicate record is >entered. > > >What is the best way to prevent duplicate appends? > > >Thanks. > >LO John A. Hill Pacific Coast Software http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Prevent multiple appends with Reload Button (Kenneth Grome 1997)
  2. Re: Prevent multiple appends with Reload Button (Larry Orchier 1997)
  3. Re: Prevent multiple appends with Reload Button (Larry Orchier 1997)
  4. Re: Prevent multiple appends with Reload Button (John Hill 1997)
  5. Re: Prevent multiple appends with Reload Button (John Hill 1997)
  6. Prevent multiple appends with Reload Button (Larry Orchier 1997)
Instead of doing an [append] you can use [replace] but include the tag append=T (i.e. [replace append=T&...]). This will append if it's not found, but just replace the data with itself if they replace the data.John.>When all the new customer information in cust.db has been verified, the >following appends a new record. > >[append db=cust.db]firstname=[firstname]&lastname=[lastname][/append] > >So far so good. > >However, if the new customer clicks on Reload, a duplicate record is >entered. > > >What is the best way to prevent duplicate appends? > > >Thanks. > >LO John A. Hill Pacific Coast Software http://www.smithmicro.com John Hill

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:

Mime Headers for Mail (1998) Summing fields (1997) Multiple Pulldowns (1997) formatting dates from a field ... (1997) Download URL & access on the fly ? (1997) Clickable maps and WebCatalog? (1996) Search in 2 or more catalogs (1997) Help! WebCat2 bug (1997) [WebDNA] Encrypted password issue (2009) please stop this!!!! (2000) Keep away (1997) Error Lob.db records error message not name (1997) Authenticate Questions (2003) WebCat2b15MacPlugin - [protect] (1997) [/application] error? (1997) Date Calulation (1997) Where's Cart Created ? (1997) WebCatalog & Mac OS X (client) vs. Redhat Linux (2001) Showing once on a founditems (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997)