[Gambas-user] TableView Data from database
Bruce
bbruen at ...2308...
Sat Sep 29 04:17:01 CEST 2012
On Fri, 2012-09-28 at 18:55 -0700, rocko wrote:
> I get a "Bad Row Index" error when I do that.
>
>
> On 09/28/2012 12:07 AM, Алексей Беспалов wrote:
> > It do that:
> >
> > sResult = DB.Edit("inventory", id = &1, ID)
> > sResult!id = ID
> > 'sResult!location = TableView1.Columns[1].
If TableView1.Row < 0 then Error.Raise("You haven't selected a row
in the tableview yet!")
> > * sResult!location = TableView1[TableView1.Row, 1].Text*
> > sResult.Update
> >
hth
Bruce
More information about the User
mailing list