Re: Formulas.db
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40362
interpreted = N
texte = Brian Fries wrote:> I haven't tried it, but couldn't you set a text variable within a> formula?well, I was assumeing you could. However, I was wondering ifthis variable could be passed or grabbed (from the addlineitems page)and according to John I guess it can't. However, I will run some testsif there is not a clear resolution to this.> As I understand it, WebCat basically grabs the formula from> the DB then does an [interpret] on it... so, theoretically, you could> put any DNA code you want there - including> [text]textVar=blah[/text] - as long as you are careful that the> resulting value has no extra characters after it's been interpreted.>> Also, a clarification: the entry in the formulas.db must be on one> line, and the results of the interpreted include file must not> contain any characters besides the desired result (no spaces or> returns...), but the code within the include file could be on> multiple lines for readability, as long as you comment out all the> return characters and other extraneous text.hey, thats a good thought! thanks.My whole idea is to have the showif/if comparisons in the formulas.db for mydifferent discounts but yet include the actual different discount code so they areseparated out to individual text files. This makes finding the right discounttext easier and also shortens up the line in the Formulas.db.Donovan.>>> - Brian>>-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer Graphics-------------------------------------------------------------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:
Brian Fries wrote:> I haven't tried it, but couldn't you set a text variable within a> formula?well, I was assumeing you could. However, I was wondering ifthis variable could be passed or grabbed (from the addlineitems page)and according to John I guess it can't. However, I will run some testsif there is not a clear resolution to this.> As I understand it, WebCat basically grabs the formula from> the DB then does an [interpret] on it... so, theoretically, you could> put any DNA code you want there - including> [text]textVar=blah[/text] - as long as you are careful that the> resulting value has no extra characters after it's been interpreted.>> Also, a clarification: the entry in the formulas.db must be on one> line, and the results of the interpreted include file must not> contain any characters besides the desired result (no spaces or> returns...), but the code within the include file could be on> multiple lines for readability, as long as you comment out all the> return characters and other extraneous text.hey, thats a good thought! thanks.My whole idea is to have the showif/if comparisons in the formulas.db for mydifferent discounts but yet include the actual different discount code so they areseparated out to individual text files. This makes finding the right discounttext easier and also shortens up the line in the formulas.db.Donovan.>>> - Brian>>-- Donovan D. BrookeSystems Administrator/Assc. Art DirectorEpsen Hillmer Graphics-------------------------------------------------------------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/
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:
WebCatalog [FoundItems] Problem - LONG - (1997)
shownext and searches (2002)
[showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (2000)
Graphing Modules (2004)
WebCatalog vs. Cold Fusion (1998)
cybercash on OSX - was Executing remote AppleScript (2000)
Summaries (1999)
WebCatalog2 Feature Feedback (1996)
[SHOWIF AND/OR] (1997)
More Applescript (1997)
Excluding orders from WebMerchant processing (1998)
A quickie question (1997)
Bad creator codes which cause access denied errormessage (1997)
Not really WebCat- (1997)
Shopping Carts (2000)
WebCatalog and Bar Code Scanners (1999)
switching users (1998)
Anyone with a solution for this? (2001)
[table] retained in memory (2006)
[format] (1998)