Re: [Gambas-user] Fill list box with mysql query

2012-01-20 Thread M. Cs.
$Result=MyConnection.Exec("SELECT * FROM Mytable;") FOR EACH $Result MyListbox.Add($Result!fieldname) NEXT 2012/1/20, Keith Clark : > How would I go about filling a listbox with a result from a mysql > query? I know how to connect, write the query and get the result back > in say $Result. > > The

[Gambas-user] Fill list box with mysql query

2012-01-20 Thread Keith Clark
How would I go about filling a listbox with a result from a mysql query? I know how to connect, write the query and get the result back in say $Result. The $Result would contain only one field with multiple rows. Thanks, Keith