Le 29/07/2013 02:37, Marty a écrit :
> Hello All,
>
> I have a dataview control that is contained in a datasource. The
> datasource table property is set to a SQL command tat gets the data. I
> can see the data in the dataview and return the index of the selected row.
>
>   From the documentation on the net it appears as though the individual
> cells can be edited. The graphic in the Gambas docs shows a cursor in a
> cell with an insertion point. I can read the data from the datasource
> with "var = datasource1!xxxx" but the converse "datasource1!xxxx = XX"
> raises an error. Not an array on form foo.
>
> I need to both display and edit the contents of the cell as well as add
> and delete records. So how do I do it in Gambas 3?
>
> Thanks in advance to all who offer answers.
>
> Marty:-)
>

DataSource is read-only if it points at a SQL query. It is editable only 
if it points at a table.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to