VRB delete in datacontrol

Damon Pillinger daisychain at iinet.net.au
Thu Jul 7 15:56:58 CDT 2005


Hi Guys,
Next one is a bit weird.

V2.0.4(release) WIN RB5.5.5

Create a datacontrol and link buttons with new, insert, update and
delete
Add some records
Now do a datacontrol.runquery (select * from test)
Let's say there are 10 records
Now delete 5, the datacontrol will say there are 5 records
Now do a datacontrol.runquery (select * from test)
Now there are 10 records.

It appears that delete does not actually delete from the database just
the datacontrol

If you do a datacontrol.database.commit after you delete the records it
makes no difference.

Any ideas?

Best Regards

Damon L. Pillinger
Jensen 2005 by Daisychain
www.daisychain.no-ip.biz
Phone : 03 9532 1220
Fax : 03 9532 1280





More information about the Valentina mailing list