Re: [include] and not found

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63380
interpreted = N
texte = Patrick McCormick wrote: > I was worried about the overhead of using functions. My project > involves a large, medical form with almost 200 choices. It's coded in > Flash and sends data to the server as it's entered. Form choices > require further processing. I've broken that processing into separate > .inc files named field_1.inc, field_2.inc, ... field_almost200.inc: > > [search db=formData.db&formID=[formSID]][founditems] > [listfields db=formData.db] > [hideif [interpret][[fieldname]][/interpret]=] > [include file=[filename].inc] > [/hideif] > [/listfiles] > [/founditems][/search] > > Some of the data is informational only and requires no further handling > or processing. For those fields I just skip creating an .inc file. > Suppressing the error message for missing .inc files is a big deal. > > using [function] would mean having to separately check for the > existence of the .inc file and check for an associated field value. If > I can get those functions inherently in > I am relieved that WebDNA doesn't stop processing when it encounters a > missing .inc file. It just keeps chugging to the next one. First of all, that search is not going to find anything. Second, try it.. I don't think adding a check will hinder things too much. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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: [include] and not found ( Patrick McCormick 2005)
  2. Re: [include] and not found ( Marko Bernyk 2005)
  3. Re: [include] and not found ( Patrick McCormick 2005)
  4. Re: [include] and not found ( Marko Bernyk 2005)
  5. Re: [include] and not found ( Donovan Brooke 2005)
  6. Re: [include] and not found ( Donovan Brooke 2005)
  7. Re: [include] and not found ( Patrick McCormick 2005)
  8. Re: [include] and not found ( Kenneth Grome 2005)
  9. Re: [include] and not found ( Donovan Brooke 2005)
  10. Re: [include] and not found ( Jesse Proudman 2005)
  11. Re: [include] and not found ( Patrick McCormick 2005)
  12. Re: [include] and not found ( Jesse Proudman 2005)
  13. [include] and not found ( Patrick McCormick 2005)
Patrick McCormick wrote: > I was worried about the overhead of using functions. My project > involves a large, medical form with almost 200 choices. It's coded in > Flash and sends data to the server as it's entered. Form choices > require further processing. I've broken that processing into separate > .inc files named field_1.inc, field_2.inc, ... field_almost200.inc: > > [search db=formData.db&formID=[formSID]][founditems] > [listfields db=formData.db] > [hideif [interpret][[fieldname]][/interpret]=] > [include file=[filename].inc] > [/hideif] > [/listfiles] > [/founditems][/search] > > Some of the data is informational only and requires no further handling > or processing. For those fields I just skip creating an .inc file. > Suppressing the error message for missing .inc files is a big deal. > > using [function] would mean having to separately check for the > existence of the .inc file and check for an associated field value. If > I can get those functions inherently in > I am relieved that WebDNA doesn't stop processing when it encounters a > missing .inc file. It just keeps chugging to the next one. First of all, that search is not going to find anything. Second, try it.. I don't think adding a check will hinder things too much. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Custom Paint, Labels, and Specialty Signage. -> <- Home and Business Embellishment/Fabrication, -> <- Glass Blowing, and Art Glass -> PH/FAX:> 1 (608) 835-2476 Web:> http://www.egg.bz | http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

August 15th WebDNA Chat Transcript (2002) Search in 2 or more catalogs (1997) SET (1998) Suffix Mapping (1997) [OT] Might be of interest... (2006) ANN: Strategic Partnership with BuyStream Announced. (2000) WebCat .pdf file is still messed up... (2000) RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (2013) rotating thumbnails (1997) Open Databases on Restart (1999) WebCatalog can't find database (1997) DNS Lookup 2 (2000) credit card services (1997) Search design (1997) Pull Down Search (2000) Passing Variables.. yikes, I'm dumb (2000) AppleScript: Tell application:app location? (1998) 1 database keeps getting messed up (2002) Date Calulation (1997) WebCat2: multiple currency support (1997)