Saltar al contenido principal

Búsqueda

Búsqueda

How to extract Text item from a drop down box in the form

Comentarios

2 comentarios

  • Avatar
    Peter Thane

    I do not believe you can do this directly just from a dropdown list on the form. 

    However, if you link the label to the database including a filter/query set to lookup the required record value, you can then link the fields to the appropriate fields of the database. After that you can then link the drodown list to your database and set the Linked Data Source to be the database query prompt. At print time this will ask you to select one value and then populate all the fields from this:

    However, I don't believe this will work with Text and Excel databases and so if your is one of these then you may need to convert it to a different type. For my sample above, I converted an Excel file to a BarTender Data Builder file and linked that to my label

     

    0
  • Avatar
    Dacsa Atlantic

    Hello Peter,

    Thank you for your input.

    In my case is quite simple, the dropdown list has fixed values and is not linked to a database.

    Meanwhile I’ve implemented a workaround, in the Text field in the label, I’ve added some vb script to select a text according to the value of the item selected in the dropdown list. This solved my problem as there are just a few items to select from the dropdown list and they are fixed.

    0

Iniciar sesión para dejar un comentario.