R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
How to pass 2 variables for lxfetch
Last Post 01 Jan 1900 05:00 AM by . 3 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
rob7765User is Offline
New Member
New Member
Posts:10

--
11 Dec 2007 09:28 PM  
I have a multi module ListX question for a beginner. I have a list of records that I am linking to a detailed record in another module. I am looking for a way to pass two variables using LXFetch if possible. I have it setup like this but it is not working:

List of records has this in the List Item Detail
<TD><a href="lxFetch(516,0,'photo_date=[photo_date]','event_id=[event_id]');">[photo_date]</a></TD>

In the other module mid=516 I have the two variables set up in the variables tab like this:
Variable Type:QueryString Source:photo_date Target:@photo_date
Variable Type:QueryString Source:event_id Target:@event_id

My Query looks like this: Select DISTINCT camera, photo_location, photographer from tbl_photos where event_id = @event_id and photo_date = @photo_date order by camera ASC

The Line Item Detail looks like this:
<TR bgcolor="#bbbbbb">
<TD>[camera]</td>
<TD>[photo_location]</TD>
<TD>[photographer]</TD>
</TR>

This is not working. Is there another way of doing this?
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
11 Dec 2007 09:30 PM  
change your lxFetch Like

lxFetch(516,0,'photo_date=[photo_date]&event_id=[event_id]');

Thanks,
DP
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
rob7765User is Offline
New Member
New Member
Posts:10

--
11 Dec 2007 09:37 PM  
Thanks for your help. Sometimes the obvious is well hidden.
contactdpUser is Offline
Basic Member
Basic Member
Posts:475

--
11 Dec 2007 09:39 PM  
No Problem, let us know if you need further help
Durga Prasad(DP) | Senior Web Engineer<br>R2integrated
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share