Results 1 to 4 of 4

Thread: como alimentar un combobox de canvas

  1. #1
    Member
    Join Date
    Feb 2015
    Posts
    36

    como alimentar un combobox de canvas

    Como defino el datasource de un combobox en canvas
    para que tome la informacion de una tabla.


    Saludos
    Rodolfo Santana

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,236
    (Sorry english answer today)

    You can specify a SQL SELECT statement in the choices attribute.

    +select companyname from customers

    Put a + at the start of the statement will add a blank entry to the list.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Member
    Join Date
    Feb 2015
    Posts
    36
    if I need view 2 fields at combobox, it can?

    Thanks and regards.

  4. #4
    Senior Member
    Join Date
    Jul 2013
    Location
    Ontario, Canada
    Posts
    658
    Hi Rodolfo,

    If you require two columns in the combobox, I believe you could do the following:

    Lianja.Get("page1.section3.cboName").columncount = 2

    In the choices attribute, you could use:
    +select customers.companyname,customers.city from customers

    (Although the blank entry may no longer be available)

    Cory

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us