> > Dear sirs
> >
> > Have a database and want to search on two fields Have created a form with 2 textboxes and search on each of the fields using the textboxes and keypress procedure All works beautifully However the key pressed and the field data both show in the textbox How do i stop the key pressed from displaying
> >
> > Regards len cockram
>
> Put a NODEFAULT statement after your code in the KeyPress event to supress the default behaviour (ie. The character typed being added to the textbox)
>
> Cheers,
> Jamie
>
jamie.osborn@foxite.comThanks jamie
Seems as if the ockers are the only ones who no anything Will give it a try
Regards len cockram