Clear Field after focus goes back to it

  • Thread starter Thread starter tim
  • Start date Start date
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!
 
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
 
Back
Top