Zum Hauptinhalt gehen

Suche

Suche

Update Sql Db After All Records Have Been Printed

Kommentare

3 Kommentare

  • Avatar
    Permanently deleted user
    Yes, try this:

    1. Open BarTender Document Options
    2. Go to VB Scripting tab
    3. Open Functions and Subs, and add a line "Dim Cancelled"
    4. Open OnPrintJobStart, add a line "Cancelled = 0"
    5. Open OnPrintJobCancel, add a line "Cancelled = 1"
    6. In OnPrintJobEnd, put your code in an If statement that checks Cancelled
    0
  • Avatar
    Legacy Poster

    What's the difference between OnPrintEnd and OnPrintJobEnd?  Are they interchangeable?

    0
  • Avatar
    Legacy Poster

    How do I debug my code.  I have the code above integrated into my script and when it executes there are no errors.  There is also no update.  Is there a way I can figure out where the problem is?

     

    If there was a problem with permissions on the database would I get an error?

     

    Thanks,
    Valerie

    0

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