Simple Point Of Sales Logic
The idea here is that the scanner will be pointing to txtProductstsScan control, then once the scan is done then the BARCODE text must be transferred to Description control in the subform which is set to show in column (2) , if this is archived then the whole line will automatically completed.
For example capturing the text below by scanner will result into three lines created in the subform
Must result into three lines created
Dim rst As Object
Set rst = [Form_sfrmInvoicedetails Subform].RecordsetClone
.Fields("Description") = CStr(Me.txtProductstsScan)
Me.txtProductstsScan = ""
Set rst = Nothing
DoCmd.GoToRecord , , acNewRec
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>