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

 Dynamically Changing SQL Paramters CCS

Print topic Send  topic

Author Message
Hayward
Posted: 10/31/2002, 3:23 PM

Can anyone give me the syntax on changing SQL parameters, eg I have a grid where the date range is dependent upon a users perferences.

So on the BeforeExecuteSelect() Event I want to change/override a Paramater 'StartDate' to something else.
My Code is

STC_USERS.DataSource.Parameters("STARTDATE") = '2001-01-01'
and it does nothing?

What am I doing wrong?

TIA
Alex
Posted: 05/07/2003, 3:24 AM

STC_USERS.DataSource.Parameters("STARTDATE") = "2001-01-01"

Bye

   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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