Link to home
Start Free TrialLog in
Avatar of shelbyinfotech
shelbyinfotech

asked on

Event Trigger based on Input Length

I  am writing a very simple database in which one field is read by a USB barcode scanner...which simply acts like a keyboard input.

I need someway to have and event triggered once this data is input, as all barcode data would be the same length , testing the length should be the trigger to move to next record or some other action.
Avatar of shelbyinfotech
shelbyinfotech

ASKER

The OnChange Event fires when the code is scanned, however, it does not all the text to go in the box . ....... ?
Can you post your OnChange event code?
Just started....wrote a macro to test the event ....similar action with OnDirty.Event as well
In either event, I issue a RunCommand SaveRecord...which only returns a zero to the text box
Avatar of Gustav Brock
Most barcode scanners can be set to add a linefeed after the scanned code.
The you can use the AfterUpdate event of the textbox.

/gustav
Do you know of a particular one Gustav ?
ASKER CERTIFIED SOLUTION
Avatar of Gustav Brock
Gustav Brock
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
After matching the ones we had in house to a current manufacturer ( Symbol is now Motorola )  , I was able to find the manual and reconfigure the devices.

Thanks
You are welcome!

/gustav