Subject RE: [ib-support] is there any restriction for the number of users in interbase
Author KURSAT TASKIN
okey Arda, think of it, assume I have two user, one record with id=110, if
both of them try to delete it at the same time, one of them will delete and
the other will not see that it deleted since he did not refreshed the
dataset yet, I think there will be a problem because user2 say, will try to
delete a non existing record, am I wrong? what will be the solution?
kursat

-----Original Message-----
From: Arda Tunccekic [mailto:arda@...]
Sent: Tuesday, December 25, 2001 10:01 AM
To: ib-support@yahoogroups.com
Subject: Re: [ib-support] is there any restriction for the number of
users in interbase


>I am affraid of transaction problems in my application, how can avoid this?

if you use delphi, a transaction control can be done like this.

Database1.STARTTRANSACTION;

1.dosomething with the database;
2.dosomething else with the database;
3.dosomething more with the database;

if everything's ok till here,

Database1.COMMIT else Database1.ROLLBACK;


if you rollback, the changes done on the database will be discarded.

untill you commit, other user won't be able to see what you do.















To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/