Re: Changing names of .hdr field names

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52447
interpreted = N
texte = Can you wrap the [INCLUDE FILE=pollresponse.hdr] part in a [convertwords]? The writefile doesn't need the hdr information to do its writing. GK -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of andy mowrey Sent: Friday, August 22, 2003 2:36 PM To: WebDNA Talk Subject: Changing names of .hdr field names TgIF! WebDNA 4.5.1 Mac 10.2.6 RAM 1.5GB I have a ballot/poll/survey system that automatically generates field names in pollresponse.hdr file: q_a1a_b1b_c1c_q_a1a_b1b_c2c_q_a1a_b1b_c3c_q_a1a_b1b_c4c_ .... q_a5a_b2b_c22c_q_a5a_b2b_c23c_q_a5a_b2b_c24c_q_a5a_b2b_c25c_ In pollq.hdr/pollq.db I have the following: pollq_skupollq_name q_a1a_b1b_c1c_African/Caribbean q_a1a_b1b_c2c_Cajun/Creol q_a1a_b1b_c3c_Chinese q_a1a_b2b_c1c_Bagels I send data to the poll administrator via email by doing the following: [WRITEFILE poll[timestamp].xls][INCLUDE FILE=pollresponse.hdr] [INCLUDE FILE=pollresponse.db][/WRITEFILE] This works as expected, except it's not very user friendly: q_a1a_b1b_c1c_q_a1a_b1b_c2c_q_a1a_b1b_c3c_q_a1a_b1b_c4c KayaMr. MowLee's ExpressBruggers Drumm'sRib TicklerLee's ExpressNaked Bagel etc... Is there a way that I can change the dynamically generated field names to there corresponding human readable ones? African/CaribbeanCajun/CreolChineseBagels KayaMr. MowLee's ExpressBruggers Drumm'sRib TicklerLee's ExpressNaked Bagel Tia, andy ------------------------------------------------------------- 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: Changing names of .hdr field names ( andy mowrey 2003)
  2. Re: Changing names of .hdr field names ( andy mowrey 2003)
  3. Re: Changing names of .hdr field names ( "Gary Krockover" 2003)
  4. Changing names of .hdr field names ( andy mowrey 2003)
Can you wrap the [INCLUDE FILE=pollresponse.hdr] part in a [convertwords]? The writefile doesn't need the hdr information to do its writing. GK -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of andy mowrey Sent: Friday, August 22, 2003 2:36 PM To: WebDNA Talk Subject: Changing names of .hdr field names TgIF! WebDNA 4.5.1 Mac 10.2.6 RAM 1.5GB I have a ballot/poll/survey system that automatically generates field names in pollresponse.hdr file: q_a1a_b1b_c1c_q_a1a_b1b_c2c_q_a1a_b1b_c3c_q_a1a_b1b_c4c_ .... q_a5a_b2b_c22c_q_a5a_b2b_c23c_q_a5a_b2b_c24c_q_a5a_b2b_c25c_ In pollq.hdr/pollq.db I have the following: pollq_skupollq_name q_a1a_b1b_c1c_African/Caribbean q_a1a_b1b_c2c_Cajun/Creol q_a1a_b1b_c3c_Chinese q_a1a_b2b_c1c_Bagels I send data to the poll administrator via email by doing the following: [WRITEFILE poll[timestamp].xls][INCLUDE FILE=pollresponse.hdr] [INCLUDE FILE=pollresponse.db][/WRITEFILE] This works as expected, except it's not very user friendly: q_a1a_b1b_c1c_q_a1a_b1b_c2c_q_a1a_b1b_c3c_q_a1a_b1b_c4c KayaMr. MowLee's ExpressBruggers Drumm'sRib TicklerLee's ExpressNaked Bagel etc... Is there a way that I can change the dynamically generated field names to there corresponding human readable ones? African/CaribbeanCajun/CreolChineseBagels KayaMr. MowLee's ExpressBruggers Drumm'sRib TicklerLee's ExpressNaked Bagel Tia, andy ------------------------------------------------------------- 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/ "Gary Krockover"

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:

HELP WITH DATES (1997) checksum for credit cards? (1997) Exclamation point (1997) RE: type 2 errors with ssl server (1997) browser info.txt and SSL (1997) The future of WebCatalog is coming with 4.0... (2000) WebCat2: Items xx to xx shown, etc. (1997) Date Sorting (1997) [OT] Templates (For Sale) sites (2004) [WebDNA] Emailer Issue (2009) How did *you* learn Web Catalog? (2000) A little help on e-mail (HELP!!! :-) ) (1998) form crasehes server (1997) PSC recommends what date format yr 2000??? (1997) IASPI_Rewrite & WebDNA (2007) Error - Search / Showif (2000) Hello??? (1997) two forms of delivery (1998) Emailer pref's won't save (2005) Generating unique SKU from [cart] - FIXED! (1997)