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 -> CodeChargeStudio.Discussion

 Clear entry on Search portion of Grid

Print topic Send  topic

Author Message
DaveS
Posted: 01/30/2003, 5:20 PM

I would like to add a button to my search section (Record), that will clear
(blank out) the entry made by the user in a previous search w/o him having
to go to the entry field and hit the backspace button. Has anyone done
this?

-D

Robert Rodgers
Posted: 01/30/2003, 5:45 PM

Use a link and in the Remove Parameters enter the name of control (s) you
want to clear. And in the Source/Parameters choose the current page.


Rob


"DaveS" <theeveryman@usa.net> wrote in message
news:b1cj1n$7ua$1@news.codecharge.com...
> I would like to add a button to my search section (Record), that will
clear
> (blank out) the entry made by the user in a previous search w/o him having
> to go to the entry field and hit the backspace button. Has anyone done
> this?
>
> -D
>
>

RonB
Posted: 01/31/2003, 8:19 AM

insert a button and use an onclick event in javascript
onclick="document.all.controllname.value=' ' "

Ron
"DaveS" <theeveryman@usa.net> schreef in bericht
news:b1cj1n$7ua$1@news.codecharge.com...
> I would like to add a button to my search section (Record), that will
clear
> (blank out) the entry made by the user in a previous search w/o him having
> to go to the entry field and hit the backspace button. Has anyone done
> this?
>
> -D
>
>

DaveS
Posted: 02/01/2003, 3:08 PM

I thought I did something similar to that...

document.formname.controlname.value="";

but it always gives me a "cannot find that control" error or some such.

-Dave
"RonB" <r.borkent@123chello123.nl> wrote in message
news:b1e7ln$m1s$1@news.codecharge.com...
> insert a button and use an onclick event in javascript
> onclick="document.all.controllname.value=' ' "
>
> Ron
> "DaveS" <theeveryman@usa.net> schreef in bericht
>news:b1cj1n$7ua$1@news.codecharge.com...
> > I would like to add a button to my search section (Record), that will
> clear
> > (blank out) the entry made by the user in a previous search w/o him
having
> > to go to the entry field and hit the backspace button. Has anyone done
> > this?
> >
> > -D
> >
> >
>
>

RonB
Posted: 02/02/2003, 5:08 AM

Document.all.controlname works for me. I do believe this is a ie specific
way of getting acces to the object.

Ron

"DaveS" <theeveryman@usa.net> schreef in bericht
news:b1hk1b$v7b$1@news.codecharge.com...
> I thought I did something similar to that...
>
> document.formname.controlname.value="";
>
> but it always gives me a "cannot find that control" error or some such.
>
> -Dave
> "RonB" <r.borkent@123chello123.nl> wrote in message
>news:b1e7ln$m1s$1@news.codecharge.com...
> > insert a button and use an onclick event in javascript
> > onclick="document.all.controllname.value=' ' "
> >
> > Ron
> > "DaveS" <theeveryman@usa.net> schreef in bericht
> >news:b1cj1n$7ua$1@news.codecharge.com...
> > > I would like to add a button to my search section (Record), that will
> > clear
> > > (blank out) the entry made by the user in a previous search w/o him
> having
> > > to go to the entry field and hit the backspace button. Has anyone
done
> > > this?
> > >
> > > -D
> > >
> > >
> >
> >
>
>


   


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.