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 ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user