Zum Hauptinhalt gehen

Suche

Suche

Creating Db Connection At Runtime

Kommentare

1 Kommentar

  • Avatar
    Fernando Ramos Miracle

    Although we strongly recommend using the built in database connection setup directly supported by BarTender you could always built the connection using a VB script. Note that in this case you would need to use script to load the information on each of your document's objects.

     

    Also note that you could always create a join in BarTender between different databases instead of needed to custom make the required database connection.

     

    *In any case, I'm attaching a simple example we built some time ago that uses a script in the Data Entry Form to query a database and load its data to the label objects. The script does the following:

     

    1.       Fills a drop down list from an Excel spreadsheet.

     

    2.       Uses the choice selected in the drop down list to query the database again to retrieve records that match the selection.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.