replacing items in a db
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 36391
interpreted = N
texte = Hi,I am having problems with replacing a line in a database with a new line.Here is the line of code in question:[replacedb=/db/hits.db&eqhit_datedata=[math]{[date]}[/math]&append=T]hit_date=[math]{[date]}[/math]&[interpret][download_[index][/interpret]=[math][lookupdb=/db/hits.db&lookinfield=hit_date¬found=0&returnfield=[interpret][download_[index]][/interpret]&value=[math]{[date]}[/math]]+1[/math][/replace]The purpose of this is to take download stats of a number of differentprogram we ship. So the process is a user can select a number of programsto download and based on their selection, it indexes their values. But whenthe line of code is read by server it actually deletes a number of thevalues in the table as opposed to replacing the line it is supposed to bereferring to.I hope I am being clear (probably not), don't be afraid to reem me about mylack of clarity, and don't be afraid to ask more questions.Matthew LevyAEC Software, Inc.mlevy@aecsoft.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:
Hi,I am having problems with replacing a line in a database with a new line.Here is the line of code in question:[replacedb=/db/hits.db&eqhit_datedata=[math]{[date]}[/math]&append=T]hit_date=[math]{[date]}[/math]&[interpret][download_[index][/interpret]=[math][lookupdb=/db/hits.db&lookinfield=hit_date¬found=0&returnfield=[interpret][download_[index]][/interpret]&value=[math]{[date]}[/math]]+1[/math][/replace]The purpose of this is to take download stats of a number of differentprogram we ship. So the process is a user can select a number of programsto download and based on their selection, it indexes their values. But whenthe line of code is read by server it actually deletes a number of thevalues in the table as opposed to replacing the line it is supposed to bereferring to.I hope I am being clear (probably not), don't be afraid to reem me about mylack of clarity, and don't be afraid to ask more questions.Matthew LevyAEC Software, Inc.mlevy@aecsoft.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/
Matthew Levy
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:
[WebDNA] Convert db to MySQL (2009)
Running a store on BOTH http and https (1998)
emailer (1997)
Undeliverable Mail (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
[ShowNext] (1997)
Multiple Users.db Possible? (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebMerchant Error (1998)
[WebDNA] Ubuntu 14.04 & WebDNA (2017)
error (2000)
Document Contains No Data! (1997)
pass a captured value (2004)
Rendering out a page (1997)
Can't add a field (1998)
Multiple Pulldowns/Gary (1997)
[WebDNA] Cheers (2008)
Formatting of email on NT (1998)
AOL and [redirect] (2000)
founditems (1998)