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 -> CodeChargeStudio.Discussion

 Two sql statement

Print topic Send  topic

Author Message
Sandi
Posted: 05/28/2003, 12:01 PM

I am using following data source as sql statement but I get an error from
Codecharge though my code is passed within MYSQL.

set @sandi = (select datum from Tecaji order by datum desc limit 1); #Here I
want to find last Date field
select SomeFields from Tecaji where Datum=@sandi; # Here I want to display
all fields within last date.

But I get Please enter either a SELECT statement.

Can someone please tell me where to put the first statement to be accepted
within codecharge and transfered to MYSQL.

Codecharge studio 2.0
Mysql 4.1
PHP with templates


Best regards!


Sandi


   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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