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

 passing parameters to SQL statement

Print topic Send  topic

Author Message
Miro
Posted: 06/01/2003, 9:07 AM

hi people..

this might be a stupid question, but how do I pass a parameter to WHERE clause of my SQL statement? I already have some expressions in WHERE part, I just need to add some more based on the incoming parameters...

Thanks in advance..

PS : PHP, PostgreSQL

miro.
RonB
Posted: 06/01/2003, 3:13 PM

CC?CCS? php?ASP?....

In CCS you can use the query builder to set parameter or switch to sql view, add the parameter like:
where some_id={some_variable_name}

now make sure you add the parameter using the interface setting name and source and setting the retrieval method(url,session etc)

Ron
miro
Posted: 06/01/2003, 4:40 PM

thanks Ron, it is CC actually..

   


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

MS Access to Web

Convert MS Access to Web.
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.