Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Crystal Reports - Selection Formula


Message #1 by "Avinash" <avinashraj@h...> on Tue, 11 Dec 2001 05:18:31
replace the single quote with one more quote i thnk that shld help
or with char(146)

Regards,
Deepak Londhe



>From: "Avinash" <avinashraj@h...>
>Reply-To: "professional vb" <pro_vb@p...>
>To: "professional vb" <pro_vb@p...>
>Subject: [pro_vb] Re: Crystal Reports - Selection Formula
>Date: Tue, 11 Dec 2001 10:44:00
>
>Hi Deepak,
>
>Thanks, but my problem is when strFieldValue itself has a single quote in
>it, Crystal Reports starts trowing an error.
>
>strFieldValue = "test's"
>rpt.SelectionFormaula = "{TableName.FieldName} = '" & strFieldValue & "'"
>
>thanks,
>Avinash
>
>
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


  Return to Index