Zum Hauptinhalt gehen

Suche

Suche

Update database record after Print

Kommentare

3 Kommentare

  • Avatar
    Peter Thane

    You will need to use an Action to achieve this either one from a Data Entry Form or a Document Level Action 

    0
  • Avatar
    Scott Cottis

    I am trying to use this feature.  However, what is the syntax needed in the Where clause.  For example my database primary Key column is LabelID int.  In the where clause I have tried using a variety of syntax to tell BarTender to update THIS row for each label printed.  WHERE LabelID = <Field(LabelID)>  or WHERE LabelID = %LabelID%

    Both return errors.  What is BarTender expecting as the unique row indentifier?

     

    0
  • Avatar
    Peter Thane

    The test label setup below uses an Access database where I have done something similar as a Form Action but this changes the value of the Status field to Printed once the record is printed. 

    The label includes a Named field added to it label (actually off to the side so it does not print) that “shows” the database key/unique ID. I have Named this field therecordnumber.  This then allowed me to reference/link to the Named field from the Insert Variables option

     As you can see the record selection for printing above comes from a selection table but could come from a database filter in the labels Database Connection wizard setup screens instead and still give the same results 

    0

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