>>oCA = CREATEOBJECT([CursorAdapter]) >>TEXT TO oCa.SelectCmd PRETEXT 15 NOSHOW >> SELECT Test_financing.tip_id, Test_financing.amount, >> Test_financing.source, Test_financing.year, Test_financing.phase >> FROM Z:\DFREEMAN\TIP\DATA\TEST_FINANCING.DBF >> WHERE Test_financing.year = ( ?m.lnYear ) >> ORDER BY Test_financing.tip_id >>ENDTEXT >>oCa.BufferModeOverride = 5 >>oCa.DataSourceType = [NATIVE] >>oCa.SendUpdates = .t. >>oCa.WhereType = 1 >>oCa.Tables = [Test_financing] >>oCa.FetchSize = -1 >>oCa.KeyFields = [Tip_ID] >>oCa.UpdateNameList = "Amount Test_financing.Amount, Source Test_financing.Source,"+; >> "year Test_financing.year , phase Test_financing.phase" >>oCa.UpdatableFieldList = "Amount, Source, year, phase" >>oCa.Alias = [crsTest] >> >>m.lnYear = 2007 >>oCa.CursorFill() >>REPLACE Ammount WITH 100 >>TableUpdate(1, .t., [crsTest]) >>>>