[Gambas-user] DataSource.Table = SELECT...

T Lee Davidson t.lee.davidson at gmail.com
Fri May 1 19:58:04 CEST 2020


On 5/1/20 1:50 PM, Gianluigi wrote:
> So if I understand correctly, you did something like this:
> 
> DataSource1.Table = "SELECT option_id, option_name AS my_name FROM wp_options order by option_id asc;"
> 
> And the data source showed you the ordered result in a grid with my_name header.

That's correct almost exactly. I believe I used a DataView to display the resulting two columns.


-- 
Lee


More information about the User mailing list