Re: [WebDNA] WebDNA in a [TEXT] variable
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110271
interpreted = N
texte = Try something like this:[TEXT] MESSAGETOCUSTOMER=3DHi [raw][CustomerName][/raw], thanks for your mes=sage[/TEXT]...[Search db=3D^data/insuranceclaims.db&eqCLAIMSKUdatarq=3D[CLAIMSKU]&max=3D1]= [founditems] [interpret][MESSAGETOCUSTOMER][/interpret] [/founditems][/SEARCH]Brian FriesBrainScan SoftwareOn Mar 18, 2013, at 9:52 PM, Stuart Tremain
wrote:> Hi>=20> I have been fiddling with something like this:>=20> I want to set a series of TEXT variable with some db fields in them as suc=h:>=20> [TEXT] MESSAGETOCUSTOMER=3DHi [CustomerName], thanks for your message[/TEX=T]>=20>=20> And then later in the page call the TEXT variable:>=20> [Search db=3D^data/insuranceclaims.db&eqCLAIMSKUdatarq=3D[CLAIMSKU]&max=3D=1]> [founditems]> [MESSAGETOCUSTOMER]> [/founditems]> [/SEARCH]>=20> So that it returns "Hi Stuart Tremain, thanks for your message">=20>=20> Is there a simple way of doing this rather than having a heap of searches i=n the page. Depending on a lot of things the search may be from different db=s so I was trying to unify the message by using a TEXT variable.>=20> I can create a solution, but I am now interested in solving this question.=>=20>=20> Regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Try something like this:[text] MESSAGETOCUSTOMER=3DHi [raw][CustomerName][/raw], thanks for your mes=sage[/TEXT]...[Search db=3D^data/insuranceclaims.db&eqCLAIMSKUdatarq=3D[CLAIMSKU]&max=3D1]= [founditems] [interpret][MESSAGETOCUSTOMER][/interpret] [/founditems][/SEARCH]Brian FriesBrainScan SoftwareOn Mar 18, 2013, at 9:52 PM, Stuart Tremain wrote:> Hi>=20> I have been fiddling with something like this:>=20> I want to set a series of TEXT variable with some db fields in them as suc=h:>=20> [text] MESSAGETOCUSTOMER=3DHi [CustomerName], thanks for your message[/TEX=T]>=20>=20> And then later in the page call the TEXT variable:>=20> [Search db=3D^data/insuranceclaims.db&eqCLAIMSKUdatarq=3D[CLAIMSKU]&max=3D=1]> [founditems]> [MESSAGETOCUSTOMER]> [/founditems]> [/SEARCH]>=20> So that it returns "Hi Stuart Tremain, thanks for your message">=20>=20> Is there a simple way of doing this rather than having a heap of searches i=n the page. Depending on a lot of things the search may be from different db=s so I was trying to unify the message by using a TEXT variable.>=20> I can create a solution, but I am now interested in solving this question.=>=20>=20> Regards>=20> Stuart Tremain> IDFK Web Developments> AUSTRALIA> webdna@idfk.com.au>=20>=20>=20>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us
Iphonzie
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:
[url] link (1998)
Number searching/formats (1998)
Unexpected error (1997)
About [Loop] (2000)
oi ...emailer (2002)
WebCat and Flash (2000)
Search results templates (1996)
Cookie Question (1999)
whole word search bringing irrelevant results.. (2000)
Bug? (1997)
taxRate is fine but taxTotal isn't (1997)
[authenticate] (1999)
[ot] g5 xserve drives (2004)
SSL, WebSTAR, WebCatalog (1998)
WebCat virtual postcard is done! Thanks for the help! (1998)
ShowNext truncating passed variable?? (1997)
Trouble with formula.db (1997)
[append] problems (2003)
Session timeout/security code... (2000)
WC2b15 File Corruption (1997)