CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 the WHERE clause question

Print topic Send  topic

Author Message
Dante S.
Posted: 05/30/2001, 6:48 AM

How do I reference the input fields defined in the form properties (Input
tab) in the Where entry field (which is on the SQL tab on the form
properties)?

CodeCharge
Posted: 05/30/2001, 2:57 PM

You don't :)
The Input section is automatically converted and generated as the WHERE
clause.
However, if you need more complex WHERE and want to obtain the values of the
parameters passed to the form, you can manipulate the "sWhere" variable in
the "Open" Event in Form properties, and use GetParam function to obtain the
values of the paramaters.
For example, you you may create a Form Open event like this:
sWhere = " WHERE company_name=" & GetParam("comp") & " AND state_code=" &
GetParam("state")




"Dante S." <disandigan@loyolaplans.com> wrote in message
news:9f2to3$65c$1@mail.tankhill.com...
> How do I reference the input fields defined in the form properties (Input
> tab) in the Where entry field (which is on the SQL tab on the form
> properties)?
>
>


   


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.