[writefile] ugliness continued

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 36671
interpreted = N
texte = I'm using a mac, webstart, webcat 3.04. If I don't [include] the headings seem to change fine.Conley Hanson wrote:> 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. [writefile] ugliness continued (Conley Hanson 2001)
I'm using a mac, webstart, webcat 3.04. If I don't [include] the headings seem to change fine.Conley Hanson wrote:> 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:

WebCat2 beta 11 - new prefs ... (1997) Where's Cart Created ? (1997) I read the manual (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) WebCat2 - [include] tags (1997) Upgrade to web DNA6.0 (2004) WCS Newbie question (1997) [OT] Multi - Language (2007) [authenticate] (1999) Webstar 1.3.1 PPC (1997) Signal Raised Error (Part III) (1997) WC2/Mac -- Forms not submitting correctly with Mac browsers (1997) stuck time (1998) CommandSecurity? (1997) Table code broken? (2004) Secure Web Server (1999) Encrypt question. (2000) can WC render sites out? (1997) WebCat2b12 - nesting [tags] (1997) Code shows all, but should not (2003)