Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autotab while writing

Status
Not open for further replies.

marlun

Programmer
Feb 7, 2003
70
SE
Hi!
I want to use a barcode reader for my form. The bar code generates the following number: 4-444-1.025000500
where 4-710-1.0 is a product number where the length can change (9-12 char), and 25000500 is a S/N with 8 characters.

When I shoot I would like it to put the S/N (the last eight characters) in a textbox and then the rest in another textbox.

Tab0 Textbox #1: 25000500
Tab1 Textbox #2: 4-710-1.0

I hope you understand my problem.

Thanks

/marlun
 
txt1 = left$(mySerialNumber, Len(mySerialNumber) - 8)
txt2 = right$(mySerialNumber, 8)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top