[search >db=/dbs/pollnames.db&gePoll_IDData=1&Poll_IDsmm=t&Poll_IDsort=1&poll_idsdir=as]>numfound=[numfound] [search >db=/dbs/pollnames.db&gePoll_IDData=1&Poll_IDsmm=t&Poll_IDsort=1&poll_idsdir=as]>numfound=[numfound] DOWNLOAD WEBDNA NOW! 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...
>[founditems]>>-- these lines for testing / debugging only>[poll_id] - [pollname]
>[pollname]_[period1]
>[pollname]_[period2]
>--- end of debugging>>[!][append >db=/dbs/votes.db]poll_id=[poll_id]&vote_id=[cart]-[index]&value1=[Interpret][pollname]_[period1][/Interpret]&value2=[pollname]_[period2]&start_date=[start]&end=[math][expire][/math]&vote_date=[math][date][/math]&ip=[ipaddress]&business=[business]>[/append][/!]>>[/founditems]>[/search]>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
I do something similar (I think) like this:[search db=/databases/databasetouse.db&eqlisttypedatarq=sell&eqdealeriddatarq=[__dealerid]][founditems][replace db=/databases/mwlisting_off.db&eqlistingiddata=[listingid]&append=t][listfields db=/databases/mwlisting.db][fieldname]=[url][interpret][[fieldname]][/interpret][/url]&[/listfields][/replace][/founditems][/search]Notice the use of the [interpret][/interpret] and the extra set of []Hope that helps.Charles>Hello,>>On my form results page I am trying to build the fields names to >append to my database. I do this as I am trying to append a single >record for each of 7 different sets of information from my form page.>>The form vaiables display fine on the results page, however when I >try to dynamically 'build' the fieldnames (to make the system >automatic), I get he text of the form field names in the database >instead of the value or the form variables.>>In the code below, I have the append commented out while I try to >figure this out.>If I enter the actual form field name e.g. [usd/jpy_Q3] then I >properly get the value for this orm variable. However, when building >the same name, I only get the text in the database, e.g. usd/jpy_Q3 >instead of the value of this field.>>>Here is the code.>>[text show=t]period1=[LOOKUP >db=/dbs/period.db&value=1&lookInField=period_id&returnField=periodValue¬Found=error][/text]>[text show=t]period2=[LOOKUP >db=/dbs/period.db&value=2&lookInField=period_id&returnField=periodValue¬Found=error][/text]>>
>[founditems]>>-- these lines for testing / debugging only>[poll_id] - [pollname]
>[pollname]_[period1]
>[pollname]_[period2]
>--- end of debugging>>[!][append >db=/dbs/votes.db]poll_id=[poll_id]&vote_id=[cart]-[index]&value1=[interpret][pollname]_[period1][/Interpret]&value2=[pollname]_[period2]&start_date=[start]&end=[math][expire][/math]&vote_date=[math][date][/math]&ip=[ipaddress]&business=[business]>[/append][/!]>>[/founditems]>[/search]>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
Top Articles:
Talk List
Related Readings:
duplicate cart numbers (2002)
WebCat2b13MacPlugIn - [include] (1997)
[WebDNA] test post (2011)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Using Plug-In while running 1.6.1 (1997)
For those of you not on the WebCatalog Beta... (1997)
Cancel Subscription (1996)
2.0.1 new commands and contexts (1997)
WCS Newbie question (1997)
Follow-up to listfiles bug report ... (2003)
WebCatalog 4.0.1 has been released! OSXS (2000)
Re:Has this happened to you? (1997)
Form Data, Back Button and 6.0.1 Patch (2005)
Re:How to Display text in empty fields (1997)
Navigator 4.0 & tables (1997)
[delete] problem (1997)
Migrating to NT (1997)
Limit to Field Length in DB (1998)
RE: Formulas.db + Users.db (1997)
Weird problems with [SHOWIF]s (1997)