CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Problem with Custom Event Code

Print topic Send  topic

Author Message
vj
Posted: 05/06/2002, 11:36 PM

Hi,

How do I ensure that I don't get a double double quotation mark in the following custom event code since fruit_name is a text variable? I tried using single quotation but it gives me a syntax error.

fldnFruits=cn.execute("select count(*) as nFruits from fruits where fruit_name="&fldfruit_name).fields.item(0)

Thanks.


VJ
Alex Alexapolsky
Posted: 05/07/2002, 2:52 AM

Looks like you should have single quotes around
fldfruit_name
in this sql

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.