CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Search form

Print topic Send  topic

Author Message
Roger
Posted: 05/21/2001, 10:51 PM

How does the syntax for Search Form work.
I have a basic Search/Grid form with Company field for search.
What is the correct way to use search syntax like:
to find all starting with "a or wildcard *a

I am on PHP4/MySQL

--
Rgds
Roger Tng

CodeCharge
Posted: 05/22/2001, 5:08 AM

You only need to specify the search rules in the Input section of your Grid
Form properties.
For example if the field/variable "product" contains the search value, you
can add such field in the Input section, then select Operation "=" to find
the exact match, or "Like %...%" to find this keyword within the search
field.

Please take a look at the Input section of any of the Seach Result forms in
the existing CodeCharge examples.


"Roger" <roger@web4sme.net> wrote in message
news:9ecuok$861$1@mail.tankhill.com...
> How does the syntax for Search Form work.
> I have a basic Search/Grid form with Company field for search.
> What is the correct way to use search syntax like:
> to find all starting with "a or wildcard *a
>
> I am on PHP4/MySQL
>
> --
> Rgds
> Roger Tng
>
>

David A. Lee
Posted: 05/22/2001, 2:41 PM

How do you distinguish between AND and OR ...
The search page wizard has a checkbox for that, but I cant figure out
what it does to specify this. All my searches turn out to be "AND" if
I have multiple fields on a search form


> You only need to specify the search rules in the Input section of your
Grid
> Form properties.
> For example if the field/variable "product" contains the search value, you
> can add such field in the Input section, then select Operation "=" to find
> the exact match, or "Like %...%" to find this keyword within the search
> field.
>
> Please take a look at the Input section of any of the Seach Result forms
in
> the existing CodeCharge examples.
>
>
> "Roger" <roger@web4sme.net> wrote in message
>news:9ecuok$861$1@mail.tankhill.com...
> > How does the syntax for Search Form work.
> > I have a basic Search/Grid form with Company field for search.
> > What is the correct way to use search syntax like:
> > to find all starting with "a or wildcard *a
> >
> > I am on PHP4/MySQL
> >
> > --
> > Rgds
> > Roger Tng
> >
> >
>
>

CodeCharge
Posted: 05/22/2001, 5:43 PM

The search is "OR" by default unless you select the "Required" checkbox, in
which case it will be "AND".


"David A. Lee" <dave@calldei.com> wrote in message
news:9eemeh$sm1$1@mail.tankhill.com...
> How do you distinguish between AND and OR ...
> The search page wizard has a checkbox for that, but I cant figure out
> what it does to specify this. All my searches turn out to be "AND" if
> I have multiple fields on a search form
>
>
> > You only need to specify the search rules in the Input section of your
> Grid
> > Form properties.
> > For example if the field/variable "product" contains the search value,
you
> > can add such field in the Input section, then select Operation "=" to
find
> > the exact match, or "Like %...%" to find this keyword within the search
> > field.
> >
> > Please take a look at the Input section of any of the Seach Result forms
> in
> > the existing CodeCharge examples.
> >
> >
> > "Roger" <roger@web4sme.net> wrote in message
> >news:9ecuok$861$1@mail.tankhill.com...
> > > How does the syntax for Search Form work.
> > > I have a basic Search/Grid form with Company field for search.
> > > What is the correct way to use search syntax like:
> > > to find all starting with "a or wildcard *a
> > >
> > > I am on PHP4/MySQL
> > >
> > > --
> > > Rgds
> > > Roger Tng
> > >
> > >
> >
> >
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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