Data-On-Demand ListBox

  1. last year

    David S

    5 Jan 2019 Testers, Xojo Pro

    Playing around with Kem's Data-On-Demand ListBox with a PostgreSQL database. I can't seem to figure out how to get the data from the PostgreSQL database to the DOD Virtual Database.

    I created a recordset (rs) but the RequestRowData event does not move through the data like the example Valentina database, so the code:

    lbDOD.Cell(dataRow,0) = rs.Field("last_name").StringValue + ", " + rs.Field("first_name").StringValue

    just displays the same data in the listbox for every row.

    Not sure how this works.

  2. Roger C

    6 Jan 2019 Lewis Center, OH


  3. David S

    6 Jan 2019 Testers, Xojo Pro

    That did load the listbox on demand with the data. Thanks.

or Sign Up to reply!