Trying To Read Screen Data To Generate Barcode Follow

0
Avatar
Legacy Poster

Hello all,

 

I am trying to generate a barcode based on several screen data fields. However, no matter what the screen data value is, the value is always 12345678.

 

Example : Object Name: PartNo    Current Value = A-123-5

                 Object Name: Quantity  Current Value = 987654321

 

Code: Value = "P" & Field(PartNo) & "Q" & Field(Quantity)

 

Desired output: PA-123-5Q987654321

 

Actual output: P12345678Q12345678

 

How do I read a text box with just screen data in VB?

 

Thanks,

Jesse

 

 

 

1 comments

0
Avatar
Legacy Poster
Comment actions Permalink

Of course, as soon as you post to the forum, you figue out the answer:

 

Value = "P" + Format.Objects("PartNo").Value +"Q" + Format.Objects("Quanity").Value

 

Please sign in to leave a comment.