This is a multi-part message in MIME format.

------=_NextPart_000_0028_01C0091F.105E1010
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi guys,

My System: NT4, CF4.5, Crystal Report 7.0 and MSSQL 7.0.

I used to pass url parameter to CR files:
<cflocation =
url=3D".../report/myreport.rpt?init=3Dactx&sf=3D{visit.visitdate}+>%3d+da=
te(#form.yy#,#form.mm#,#form.dd#)+and+{visit.visitdate}+<%3d+date(#form.y=
y1#,#form.mm1#,#form.dd1#)">

It's ugly I know, so I try to use CFFORM with hidden fields to pass all =
the parameters.
<cfset f1=3D"{visit.visitdate}+>%3d+date(" &
#form.yy# &
"," &
#form.mm# &
"," &
#form.dd# &
")+and+{visit.visitdate}+<%3d+date(" &
#form.yy1# &
"," &
#form.mm1# &
"," &
#form.dd1# &
")"
>=20
<CFFORM ACTION=3D"../report/myreport.rpt" METHOD=3D"post">
<input type=3D"hidden" name=3D"sf" value=3D"#f1#">
</CFFORM>

BUT, CR returns error "An invalid selection formula has been specified". =
Any idea?

Thanks in advance.

- Rudy


------=_NextPart_000_0028_01C0091F.105E1010
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi guys,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My System: NT4, CF4.5, Crystal Report =
7.0 and MSSQL=20
7.0.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I used to pass url parameter to CR=20
files:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;cflocation=20
url=3D".../report/myreport.rpt?init=3Dactx&amp;sf=3D{visit.visitdate}+&gt=
;%3d+date(#form.yy#,#form.mm#,#form.dd#)+and+{visit.visitdate}+&lt;%3d+da=
te(#form.yy1#,#form.mm1#,#form.dd1#)"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>It's ugly I know, so I try to use =
CFFORM with=20
hidden fields to pass all the parameters.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;cfset =
f1=3D"{visit.visitdate}+&gt;%3d+date("=20
&amp;<BR>#form.yy# &amp;<BR>"," &amp;<BR>#form.mm# &amp;<BR>","=20
&amp;<BR>#form.dd# &amp;<BR>")+and+{visit.visitdate}+&lt;%3d+date("=20
&amp;<BR>#form.yy1# &amp;<BR>"," &amp;<BR>#form.mm1# &amp;<BR>","=20
&amp;<BR>#form.dd1# &amp;<BR>")"<BR>&gt; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;CFFORM =
ACTION=3D"../report/myreport.rpt"=20
METHOD=3D"post"&gt;<BR>&lt;input type=3D"hidden" name=3D"sf"=20
value=3D"#f1#"&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&lt;/CFFORM&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>BUT, CR returns error "An invalid =
selection formula=20
has been specified". </FONT><FONT face=3DArial size=3D2>Any =
idea?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- Rudy</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0028_01C0091F.105E1010--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to