Others

Fix Barcode Scanner Input in Microsoft Access Text Boxes

Steven ParkerSteven Parker Nov 20, 2026 870 views

Question details

Fix barcode scans that add an extra line to Access text boxes and make the scanned value appear hidden.

Fix Barcode Scanner Input in Microsoft Access Text Boxes
Product
Microsoft Access
Device & OS
not provided
Scenario
A keyboard-wedge scanner should enter five barcodes in consecutive form fields, then save and refresh the form for a new record without operator input.
Observed behavior
Scans in text fields add an extra line, and the value appears hidden until the field is clicked or edited. Numeric fields do not show the same behavior.
Before you start

Locate the scanner's configuration guide or setup barcodes and open the affected Access form in Design View. Identify the five barcode controls and any existing form automation that advances fields or saves records.

Solution 1Recommended

Align the Scanner Suffix with Access Enter Key Behavior

Use this approach when scans add a line break or the value does not display as expected in a text box.

1
Inspect the scanner suffix

Use the scanner's configuration utility or setup barcodes to check which suffix it sends after each scan, such as Enter, Tab, or a carriage return and line feed. Confirm whether the scanner already sends more than one delimiter.

2
Check the text box setting

Open the form in Design View, select an affected text box, and open Property Sheet. On the Other tab, check Enter Key Behavior; if it is set to New Line in Field, change it to Default unless a multiline value is required.

3
Choose one advance method

Configure the scanner to send the delimiter required by the form, such as Tab for the next control, using the scanner's documented setup procedure. Avoid sending an extra Enter or line feed if it creates a new line or duplicates existing form automation.

4
Test the scan sequence

Switch to Form View, click the first barcode text box, and scan five test barcodes. Check that each value is visible, focus advances once per scan, and the form saves and opens a new record after the fifth scan.

Align the Scanner Suffix with Access Enter Key Behavior
Enter behavior depends on Access settings: The Default setting follows the database's Enter-key behavior. Check File > Options > Client Settings if Enter does not move focus as expected.
Free Microsoft Office alternative

Use WPS Office for Compatible Documents and Spreadsheets

WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format support makes moving everyday files straightforward. It does not fix Access forms or replace an Access database.

Work with Microsoft Word, Excel, and PowerPoint file formatsUse a familiar interface for everyday office tasksKeep barcode lists in spreadsheets when a database form is not requiredOpen and edit files in a lightweight office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does a barcode scan add a line in an Access text box?

The scanner may send Enter or a line-feed character after the barcode. In the form's Design View, select the text box and check Property Sheet > Other > Enter Key Behavior, then compare it with the scanner's suffix configuration.

How can I make the scanner move to the next field?

Configure the scanner to send a suitable suffix, such as Tab, using its setup utility or configuration barcodes. In Access Design View, check Design > Tab Order so the controls follow the intended scan sequence.

Why might the cursor skip a barcode field?

Both the scanner suffix and a form event may be moving focus. Check the scanner configuration and the affected control's Event tab in Property Sheet for duplicate advance actions.

Does changing the Enter Key Behavior property save the record after five scans?

No. That property controls how Enter behaves in the text box. Check the form's event macros or VBA procedures to see how the fifth scan triggers saving and opens a new record.