Zum Hauptinhalt gehen

Suche

Suche

Ms Sql Stored Procedure Parameter From Trigger File

Kommentare

2 Kommentare

  • Avatar
    Ian Cummings
    Moderator

    You mean to pass a value into a query prompt in the BarTender document to run a database query???  First create a label design with a DB connection and make a query with a query prompt.  Then using something like Commander Script use the /?QueryPrompt1="ABC123" command line, where QueryPrompt1 is the name of you query prompt (you can set a different name) and "ABC123" is the value you're passing in the query.

    0
  • Avatar
    Legacy Poster

    You mean to pass a value into a query prompt in the BarTender document to run a database query???  First create a label design with a DB connection and make a query with a query prompt.  Then using something like Commander Script use the /?QueryPrompt1="ABC123" command line, where QueryPrompt1 is the name of you query prompt (you can set a different name) and "ABC123" is the value you're passing in the query.

     

    Thanks!  That worked... Here is my commander script..

     

    %BTW% /AF="C:\Commander\Templates\Label_4x6.btw" /PRN="SPRC110" /?Param1="1018856"  /C=1 /P
    %END%
    
    
    0

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