Re: createfolder not behaving as expected
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25717
interpreted = N
texte = >Can anyone see a reason that this wouldn't work?>>[showif [listmach]=T][createfolder /special/[auctionid]] [redirect>t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq>dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif]>>>This code, does the redirect, but does NOT create a folder. Can>anyone see a reason for this? Looks to me as it should work.Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================Kenneth Grome, WebDNA Consultant808-737-6499, http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.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
Associated Messages, from the most recent to the oldest:
>Can anyone see a reason that this wouldn't work?>>[showif [listmach]=T][createfolder /special/[auctionid]] [redirect>t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq>dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif]>>>This code, does the redirect, but does NOT create a folder. Can>anyone see a reason for this? Looks to me as it should work.Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================Kenneth Grome, WebDNA Consultant808-737-6499, http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .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
Kenneth Grome
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:
Error Lob.db records error message not name (1997)
TRAINING videos - Prove IT. (1998)
select multiple 2 more cents (1997)
ShipTo Countries (2006)
Claris HomePage messes up the code (1997)
Multiple fields on 1 input (1997)
[WebDNA] contents of db files disappearing including triggers.db (2019)
RE: Formulas.db + Users.db (1997)
SMTP Mail Server (2003)
Shopping Headers (2005)
[Announce] Newest Commerce Site based on WebCatalog (1997)
Webstar 1.3.1 PPC (1997)
errormessages.db (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
PCS Emailer's role ? (1997)
View order not right (1997)
Cookies and WebTV (1999)
Ampersand Character (&) (1997)
PHP vs. WebDNA (2003)
re:check boxes (1997)