Product: LABELVIEW, CODESOFT
Version: All Versions
Overview
Object Linking and Embedding (OLE) allows files created in other applications to be included in label designs. LABELVIEW and CODESOFT include an OLEDB Administrator that lets you create connections between your label and external databases or spreadsheet files, such as Microsoft Access and Microsoft Excel. Once the connection is established, database fields can be used to populate objects on your label.
Create an OLEDB Database Connection
- Select Data Source > Database > Create/Edit Query.
- If the Data Source window is open, right-click Database and select Create/Edit Query.
NOTE: The Data Link Properties dialog box and the remaining dialogs in this procedure are Microsoft Data Link components and are supported through Microsoft's documentation.
Choose the provider that matches your data source. For example:
- If your data is stored in Microsoft SQL Server, select the appropriate SQL Server provider.
- If your data is stored in Microsoft Access (.mdb), select the Microsoft Jet OLE DB Provider.
- If your data is stored in Microsoft Access (.accdb), select the Microsoft Access Database Engine provider.
- If your data source is not listed (for example, .dbf files), install the required OLE DB provider or driver before continuing.
NOTE: The options displayed on the Connection tab vary depending on the selected provider. In most cases, you must provide:
- The name of the database or data source.
- The location of the database or file.
- Any required username or password needed to access the data.
NOTE: If you will be working with multiple database tables, enable the Include name of tables option to display the table name alongside each field. This can make it easier to distinguish fields that have the same name in different tables.
The selected database fields will be available for use in your label design.
NOTE: Saving the query is optional. Choosing No does not affect the database connection that you created. The connection remains available for use even if the query is not saved.
- Navigate to Data Source > Your Connection > Your Field, then select Place.
- In the Data Sources window, right-click the desired field and select Place.
The selected database field is placed onto your label and is ready to be formatted or used for printing.
|
