Zum Hauptinhalt gehen

Suche

Suche

Call Script On Every Print Job

Kommentare

4 Kommentare

  • Avatar
    Ian Cummings
    Moderator

    Not sure on you question here.  Are you trying to update a record in a database, after a BarTender print job, where the updated record includes data from the print job?

    0
  • Avatar
    Legacy Poster

    Yes, exactly. I would like to enter multiple values supplied to the template to update a remote MSSQL database.

    0
  • Avatar
    Ian Cummings
    Moderator

    For each data source that is set via the data entry form you should specify a data source name so that you may directly reference them from within the VB script.  I'd suggest that you use an event based VB script wth an end of print job being used for making the SQL Server database connect and then committing the database update transaction.

     

    If you search Google with something like "VBS update SQL Server database" you should find guidance of the script needed to make a connection and update a record.

    0
  • Avatar
    Legacy Poster

    Awesome, thanks for your help

    0

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