Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pass CFTREE.path variable to a subsequent form ?

Status
Not open for further replies.

liftboy

Programmer
Jul 18, 2000
1
CH
Created a simple CFTREE in one page, but cannot seem to access the variable after submitting. CFTREE name is &quot;sourcefiles&quot; so code i've used in action page is &lt;CFOUTPUT&gt;<br>#form.sourcefiles.path#<br>&lt;/CFOUTPUT&gt;<br>This doesn't return an error but nothing appears on the action form !!<br><br>Many thanks
 
Hi!<br>I also made an application who use a CFTREE tag, in one cfm file, and also a edit form in another cfm file. In the second form I use a query who use a value taken from the tree. The query look like:<br><br>&lt;cfquery name=&quot;GetEditData&quot; datasource=&quot;StuffManagement&quot;&gt;<br>&nbsp;&nbsp;&nbsp;SELECT * FROM stuff <br>&nbsp;&nbsp;&nbsp;WHERE&nbsp;&nbsp;stuff.FirstName + ' ' + stuff.LastName='#Form.Tree.node#'<br>&lt;/cfquery&nbsp;&nbsp;<br><br>You can see that I use node variable (not path) but it must be the same thing. The query works fine.<br>Success!<br>Sleepy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top