Printing HTML Views with Passed Parameters

Printing HTML Views with Passed Parameters

Greetings all...

I just spent the last two hours figuring out how to pass parameters to an HTML view with an embedded view only to discover that you can't print that view (using the Print feature in an HTML view.)

So some suggestions on the best way to proceed would be greatly appreciated.

The view is showing correctly using the code below - I WAS WRONG HERE...the Between function doesn't seem to be working properly.  If you have the same date for both start and end dates you get data equal to that date, but if you have different dates you get no data at all.

htmlpage Print_Activities(startdate, enddate)
displayname = "Print Activities"
content
<%{
    setup  =  Setup  [Added_User == zoho.loginuser];%>
<br />
<br />
<div style="text-align: center;"><font size="4" color="#333399"><span style="font-weight: bold;"><%=setup.setup_name%><br />
<br />
<br />
</span></font></div>
<div elName='zc-component' viewLinkName='Print_Activities_View' params='zc_Header=false&zc_Footer=false&zc_SecHeader=false&zc_AddRec=false&zc_EditRec=false&zc_DelRec=false&zc_DuplRec=false&zc_EditBulkRec=false&zc_Filter=false&zc_Search=false&zc_Paging=false&zc_RecLimit=false&zc_SumRow=false&zc_Summary=false&zc_RecSelect=false&zc_SaveRec=false&activity_deadline_date=<%=startdate%>;<%=enddate%>&activity_deadline_date_op>=58'>Loading View...</div> <%}%>











But when you click on the Print button the following url gets passed...

http://creator.zoho.com/littledo/littledo/print/Print_Activities/activity_deadline_date=07/05/09enddate=07/26/09;null&activity_deadline_date_op=18&;;/

Is there better way to Print an HTML view that contains embeded view(s) that have passed parameters?

AND can someone tell me why the Between constant isn't working properly?

Thanks,

Joel