#521 It would be useful to create a LvFullRow from an array of text values

ooDialog.4.2.2
closed
Mark Miesfeld
ooDialog (102)
complete
1
2013-03-04
2013-01-21
Mark Miesfeld
No

A convenience method that would instantiate a LvFullRow object from an array of text would be useful when working with ooSQLite. With this new method, the result set returned from an ooSQLite query could be inserted directly as list-view items.

Something along the lines of:

sql = 'SELECT * FROM foods ORDER BY name;'
data = dbConn~exec(sql, .true)

do i = 2 to data~items
list~addFullRow(.LvFullRow~fromArray(data[i]))
end

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2013-01-21

    • status: open --> accepted
    • assigned_to: Mark Miesfeld
    • pending_work_items: none --> doc
     
  • Mark Miesfeld
    Mark Miesfeld
    2013-01-21

    • status: accepted --> pending
    • pending_work_items: doc --> complete
    • milestone: ooDialog.4.2.1 --> ooDialog.4.2.2
     


Anonymous


Cancel   Add attachments