Skip to main content

Search

Search

Database Queries

Comments

1 comment

  • Avatar
    Xabier Clemente
    Moderator

    Hi Martin!

    Thank you for posting your query in our Community Forums.

    BarTender's Records per Item feature within the Database connection setup wizard should be able to help you with this:

    Focus on the section about the "records per item":

    This example illustrates how you can populate multiple records of a single database field on a printed item.

    1. Create a new BarTender document and set up a new database connection.

    2. Go into the Database Connection Setup→Records Per Item section.



    3. Set the maximum number of records you want per printed item. For this example, it is set to 3.



    4. Enable the checkbox option combine multiple records into a single field. Select the field "drop-down > enable the checkbox to (Select All)" and then click "Ok". Set the separator to Line Break.


    5. Click ok to the database connection setup.

    6. Now on the template design, create a normal wrapped text object and place it on the template→go into the text properties.

    7. Select the default data source→change the type to a database field using the data source wizard. When prompted for the field to use, notice the names of the available fields in the drop-down list. Some database field names have a "+" symbol or number value next to them. The "+" symbol indicates that it will display all the records for that particular database field. The number value indicates it will display a particular number record.


    8. For this example choose CompanyName + for the database field to use. Click finish to the data source wizard→close the text properties window.

    9. You can see it displays the 3 records for the CompanyName database field for a single printed item.

    I hope this is what you were looking for; let us know how it goes!

    0

Please sign in to leave a comment.