[writefile] ugliness

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36670
interpreted = N
texte = I'm working on a calendar of sorts. I have one page which pulls together all of the dates and time available as requested by the user. I write two temp .db with this information.Like so: [delete db=physlotdb&nephy_datedatarq=0][writeFile physlot.db]phy_date loc time[showif [pat_panelcode]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec1] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec2][showif [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec3]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec3][/SHOWIF][showif [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec4]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec4][/showif][/showif][showif [pat_specialty1]!0] [pat_specialty1][/showif][showif [pat_specialty2]!0] [pat_specialty2][/showif][showif [pat_specialty3]!0] [pat_specialty3][/showif][showif [pat_specialty4]!0] [pat_specialty4][/showif] [/writefile][delete db=phyreq.db&nephyreqdatarq=0] [writeFile phyreq.db]phyreq_id phy_lastName phy_reqdate phyreq_loc phyreq spec1 spec2 spec3 start end interval int_type [/writefile]I append all needed info to phyreq.db on the page. I append all necessary info to physlot.db in an included page.My problem is that physlot.db is not always rewritten. Several of the fields change or should change, but don't when the page is reloaded or accessed again. Any ideas?Thank You,Conley ------------------------------------------------------------- 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:

    
  1. Re: [writefile] ugliness (Kenneth Grome 2001)
  2. Re: [writefile] ugliness (Glenn Busbin 2001)
  3. [writefile] ugliness continued (Conley Hanson 2001)
  4. [writefile] ugliness (Conley Hanson 2001)
I'm working on a calendar of sorts. I have one page which pulls together all of the dates and time available as requested by the user. I write two temp .db with this information.Like so: [delete db=physlotdb&nephy_datedatarq=0][writeFile physlot.db]phy_date loc time[showif [pat_panelcode]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec1] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec2][showif [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec3]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec3][/SHOWIF][showif [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec4]!] [lookup db=private/panel.db&value=[pat_panelcode]&lookInField=panelCode&returnField=spec4][/showif][/showif][showif [pat_specialty1]!0] [pat_specialty1][/showif][showif [pat_specialty2]!0] [pat_specialty2][/showif][showif [pat_specialty3]!0] [pat_specialty3][/showif][showif [pat_specialty4]!0] [pat_specialty4][/showif] [/writefile][delete db=phyreq.db&nephyreqdatarq=0] [writeFile phyreq.db]phyreq_id phy_lastName phy_reqdate phyreq_loc phyreq spec1 spec2 spec3 start end interval int_type [/writefile]I append all needed info to phyreq.db on the page. I append all necessary info to physlot.db in an included page.My problem is that physlot.db is not always rewritten. Several of the fields change or should change, but don't when the page is reloaded or accessed again. Any ideas?Thank You,Conley ------------------------------------------------------------- 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/ Conley Hanson

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:

WebCatalog for guestbook ? (1997) Thanks Grant (1997) Permissions Ignored - PLEASE HELP (2003) WebMerchant Q (2000) can pull down menu do a ONCHANGE= without Java script? (2000) For those of you not on the WebCatalog Beta... (1997) RE: [BULK] RE: [WebDNA] [BULK] Web Merchant Authorize net issues (2011) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) What am I missing (1997) TCPConnect / TCPSend to Solaris NN Enterprise (2002) 2.0 Info (1997) Multiple Merchant Accounts? (1997) UPDATE PROBLEM (1997) Showing unopened cart (1997) Quiz question: Return all green and blank records? (2001) Emailer (1997) Windows XP + Apache 2.0 + WebDNA (2002) Emailer [cart] file names (1997) shipcost (1997) WebCat2: multiple currency support (1997)