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!

OLE Active Barcode Control

Status
Not open for further replies.

TrekBiker

Technical User
Nov 26, 2010
330
GB

A form in a database I've been asked to update contains a pick list containing a barcode for the particular order

The barcode data properties in the form say
Control Class : Order ID
OLE Class ; Active Barcode Control
Class : abcd17.Control

Right-clicking the barcode shows a list including Active Barcode Control Object with a Properties link that opens up a form that allows definition of the barcode properties like dimensions and Code type.

There's a General module in the database containing this
Code:
Function barcode()

    Dim rpt As Report
    Dim strBarcode As String
    Set rpt = Reports![Pick List]
    strBarcode = "SO" & Format(rpt!OrderID, "<<<<<&")
    rpt.ScaleMode = 1

End Function

In use this all produces a barcode for the Order ID prefaced by SO.

This is far as I can go in trying to identify how this all works, including how the control would have been inserted and how it operates. Any steers would be much appreciated.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top