Saltar al contenido principal

Búsqueda

Búsqueda

Three Diffrent Query Results On One Label

Comentarios

2 comentarios

  • Avatar
    Shotaro Ito
    Hi Raful,
    In BarTender document's database connection, one page(template) can only have single record.
    So even you have 3 rows of queried records, you cannot combine that result to single label.
    Perhaps, you can enable user prompt, then set VB Script to pull data based on prompt input, by OnPostPrompt Event in Event control script.
    Something like this pattern.

    [url="http://seagullscientific.invisionzone.com/index.php?/topic/201-vbscript-to-populate-a-dropdown-list/"]Vbscript To Populate A Dropdown List
    [/url]
    (This method is in "OnFillList" event, but in your case you would create a text object of VB Script source.)

    Another thought is create a query to get a record like
    "CODE1","DESC1","CODE2","DESC2","CODE3","DESC3"
    by custom SQL. I'm not a SQL Magician so don't have a good idea (can that be done by sub query?)
    0
  • Avatar
    Legacy Poster
    Hi Shotaro

    Thanks for the suggestion.
    I will try it out and will let you know if resolves my issue.
    0

Iniciar sesión para dejar un comentario.