Zum Hauptinhalt gehen

Suche

Suche

Serializing When Db Field Changes

Kommentare

1 Kommentar

  • Avatar
    Michael Toupin (mtoupin

    This functionality was introduced in BarTender 10.1.  In the 'reset' tab, you'd check the box for 'data changes', then specify the field.

     

    To do it in VB scripting it's a bit more complicated.  What you have to do is to create a variable, then on print start assign the database field to it.  

     

    So OnPrintStart do:

     

    Counter = Field(databasefield)

     

    Then OnNewRecord do:

     

    If Counter <> Field(databasefield) then 

    value  = 1 

    Counter = Field(Databasefield)

    end if

     

     

    so that it only resets if the database info is different than the previous info.

    0

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