Re: replace using &append=T

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68375
interpreted = N
texte = sbraun wrote: > Hi Donovan, > thanks for writing back. > > I'm trying to step through days of the week, and replace a SKU set if > it exists already, or append it if it does not. > My first problem was putting a dot(.) as a separator in the database > file name. So I changed hours.2007 to hours_2007. > So that helped a little, but did not solve the problem. > > I don't think that I can do what you suggest, and initialize the > [my_var], as it is passed from a form on a previous page. > > I did find another problem, with your input as a guide. I was > replacing the same record each of the 7 times through the loop as you > stated. > Now, I've incremented the SKU by one, each time through the loop and it > seems to be behaving somewhat better. Hmmm, O.K. I'm still confused as to what your purpose is though. You are looping through the 7 days.. but you are not passing any of that info [index] into the search... as your search uses a ge comparison. (so each search is not really unique). You have a form var. comming in containing a value. What record set/s do you want to affect with this value? Donovan -- =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 EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: replace using &append=T ( Donovan Brooke 2007)
  2. Re: replace using &append=T ( Terry Wilson 2007)
  3. Re: replace using &append=T ( Grant Hulbert 2007)
  4. Re: replace using &append=T ( sbraun 2007)
  5. Re: replace using &append=T ( Donovan Brooke 2007)
  6. Re: replace using &append=T ( Donovan Brooke 2007)
  7. Re: replace using &append=T ( matthew.bohne@benetela.com 2007)
  8. replace using &append=T ( sbraun 2007)
sbraun wrote: > Hi Donovan, > thanks for writing back. > > I'm trying to step through days of the week, and replace a SKU set if > it exists already, or append it if it does not. > My first problem was putting a dot(.) as a separator in the database > file name. So I changed hours.2007 to hours_2007. > So that helped a little, but did not solve the problem. > > I don't think that I can do what you suggest, and initialize the > [my_var], as it is passed from a form on a previous page. > > I did find another problem, with your input as a guide. I was > replacing the same record each of the 7 times through the loop as you > stated. > Now, I've incremented the SKU by one, each time through the loop and it > seems to be behaving somewhat better. Hmmm, O.K. I'm still confused as to what your purpose is though. You are looping through the 7 days.. but you are not passing any of that info [index] into the search... as your search uses a ge comparison. (so each search is not really unique). You have a form var. comming in containing a value. What record set/s do you want to affect with this value? Donovan -- =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 EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz =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/ Donovan Brooke

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:

Frames and WebCat (1997) (Larry - it's good to use keywords in the subject) (2000) Nested tags count question (1997) [ot] iBook vs. 12" PB (2004) [WebDNA] calling a webDNA tmpl from PHP? (2008) Question about [encrypt] (1998) RE: WebCatalog and Webstar 3.02 (1998) Location of Browser Info.txt file (1997) WebCat2 - [SendNews] (1997) Opinion: [input] should be called [output] ... (1997) removelineitems (2000) Date problems (1997) Summ=T Problem (1997) File Uploads... (1997) # fields limited? (1997) Generating unique SKU from [cart] - Still Stumped... (1997) NT 4.0/IIS WebCat Installation (1998) Re:Signal Raised (1997) [convertChars] and in a textarea on a form (1998) HTML Editors (1997)