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

 search allowing user to select AND and OR between search fields

Print topic Send  topic

Author Message
Marc
Posted: 05/02/2002, 6:35 AM

Hi,

are there any examples where a search form allows the user to specify AND
and OR between the fields using radiobuttons, i.e.

Customer Type: [editbox] AND [radiobutton] OR [radiobutton]
Customer Account: [editbox]

Thanks

Marc.

ps I am using JSP + Templates, Tomcat and Oracle. but any example would be
great.

Alexey Alexapolsky
Posted: 05/02/2002, 7:37 AM

This can be done by replacing AND with OR in sSQL variables in Form/Open
event.
ANDs or ORs relating to radio buttons can be located by using special names
and locating them
in sql statement.

--
Alex
CodeCharge Developer


"Marc" <marc@devHQ.co.uk> wrote in message
news:aarfac$n3r$1@news.codecharge.com...
> Hi,
>
> are there any examples where a search form allows the user to specify AND
> and OR between the fields using radiobuttons, i.e.
>
> Customer Type: [editbox] AND [radiobutton] OR [radiobutton]
> Customer Account: [editbox]
>
> Thanks
>
> Marc.
>
> ps I am using JSP + Templates, Tomcat and Oracle. but any example would
be
> great.
>
>


   


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.