Re: SetHeader context
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 21357
interpreted = N
texte = >Why does the setHeader context require a db to be specified? If I am>modifying header values, I do not think the db should not be relevant.This is a side-effect of the fact that lots of formulas are recalculatedwhenever a header is changed (if the taxRate changes, for instance).Sometimes those formulas like to have a database present so they can lookthings up. Even though they have different names, SetHeader andSetLineItem use the same internal code.>Also, I think think my copy of the WC 3.0 PDF manual is wrong in that it>says setheader requires an index# parameter. The online docs says that it>does not.Sounds like you're right -- SetLineItem would require an index, but anindex makes no sense for a header. Probably due to the vagaries ofcopy/paste.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- Re: SetHeader context (PCS Technical Support 1998)
- SetHeader context (Steve Rosenbaum 1998)
|
>Why does the setHeader context require a db to be specified? If I am>modifying header values, I do not think the db should not be relevant.This is a side-effect of the fact that lots of formulas are recalculatedwhenever a header is changed (if the taxRate changes, for instance).Sometimes those formulas like to have a database present so they can lookthings up. Even though they have different names, SetHeader andSetLineItem use the same internal code.>Also, I think think my copy of the WC 3.0 PDF manual is wrong in that it>says setheader requires an index# parameter. The online docs says that it>does not.Sounds like you're right -- SetLineItem would require an index, but anindex makes no sense for a header. Probably due to the vagaries ofcopy/paste.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
[WebDNA] [BULK] which of these tags exist in 7.0 (2011)
Problems problems problems (1997)
Browser frames and URLs in the Location field (2004)
Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (1997)
Firewalls - What's Good? (1999)
[SHOWIF]s and empty arguments (1997)
More questions about serial number dishing (1997)
RE: [BULK] [WebDNA] [if] or [case] or something else (2012)
Re:2nd WebCatalog2 Feature Request (1996)
WCS Newbie question (1997)
WedDNA Codeless Language Module file (2004)
SSL, WebSTAR, WebCatalog (1998)
Authenticate (1997)
Prices Dropped (1998)
Live Webcasts (1999)
[delete] problem (1997)
Extended [ConvertChars] (1997)
Feature Request: DB Field manipulation (1998)
t or f (1997)
Include from DB (2002)