跳到主内容

搜索

搜索

Print two fields from database based on data in first field

评论

5 条评论

  • Avatar
    Xabier Clemente
    版主

    Hello Bob,

    Welcome to the BarTender Community Forums!

    I believe the simplest solution would be setting up a record picker in the Forms tab, this way you could see and choose the Class field even if the label itself it's not populated by this field. Please, review the following video about Configuring the Record Picker on your form.

    I hope you find this article helpful, and please let us know if there is anything else we can help you with. :)

    0
  • Avatar
    Bob Osborne

    Hi Xabier,

    The class field has two values so far, 00 and 0.  They are in the records that way in the database, but on the record picker they both show as 0.  Is there a way to get the 00 to show as 00?

    thanks,

    Bob

    0
  • Avatar
    Xabier Clemente
    版主

    Hi again Bob,

    That could be caused by the Class field being set to "Number" instead of text. Could you access the Database Connection menu and under the Fields tab check if this is the case?



    If it's not "Text", then we will need to double-click on Class' type and select "Text":


    Then click on OK and it should work, as it would reference the field as text, so all of it should show.

    I hope this works!

    0
  • Avatar
    Bob Osborne

    Xabier,

    That got it!  Thanks for the help!!

    Bob

    0
  • Avatar
    Xabier Clemente
    版主

    That's great news Bob!

    Have a great weekend! :)

    0

请先登录再写评论。