Clear Field after focus goes back to it

T

tim

I have a form that uses Eid's via a RF id reader. I have the ID field
at the top that takes the input from the reader, send the focus to
another field to match the input to an existing record, show all the
data from that record, then sends the focus back to the original ID
field so I can scan another tag.


What I need to know how to do is clear that first ID field after the
focus comes back to it after displaying the data. It works fine if
you scan differnt ID's, but if you accidentally scan the same one
twice, it adds to the field instead of replacing it.

I tried using the On Enter under the events for that field and setting
it to a blank, but that doesn't work.

thanks!
 
B

Bill

Not sure I understand your sequence of events but,

Try setting the field to null after you do your match.
There must be several events you could use to do this before actually coming
back to the ID field.

If this doesn't help. We'll need a little more detailed information on the
sequence of events.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top