Skip to main content

Search

Search

How To Use Named Data Sources In Stored Procedure

Comments

2 comments

  • Avatar
    Ian Cummings
    Moderator

    I don't think you can do it in that way.  Instead I suggest you make use of a document level VB script (via "File>BarTender Document Options") and run a VB script on the OnPrintJobEnd event to make a connection to the database, execute the stored procedure while passing the named data source value which is an easy to use reference expression.

    0
  • Avatar
    Legacy Poster

    OK, I'll check that out. Thanks Ian.

     

    I don't think you can do it in that way.  Instead I suggest you make use of a document level VB script (via "File>BarTender Document Options") and run a VB script on the OnPrintJobEnd event to make a connection to the database, execute the stored procedure while passing the named data source value which is an easy to use reference expression.

    0

Please sign in to leave a comment.