> Saya mau tanya tentang koneksi ADOConnection.
> Saya mencoba melakukan transaction di 2 database,
> kalo dengan Access tidak terjadi locking,
> kalo dengan SQL Server terjadi locking.
Versi SQL Server?
Versi Delphi / Service Pack?

> procedure TForm1.Button2Click(Sender: TObject);
> begin
> tbCustomer.Active:=True;
> tbCustomer.Append;
> tbCustomer.FieldByName('no_Cust').AsString:='A001';
> tbCustomer.Post;
> tbCustomer.Edit;
> end;
 >
> Locking terjadi pada saat button2 kita click.
> (jika kita melakukan proses SELECT)
Dari yang saya lihat, operasi terakhir-nya adalah 'edit'. Setahu saya 
untuk database yang 'pesimistic locking' seperti sql server (versi 7 
kebawah), begitu anda edit di satu user, otomatis di-lock, jadi tidak 
bisa bareng bareng.

Kedua, anda menggunakan TADOTable sepertinya. Coba ubah jadi TADOQuery 
atau TADODataset, see if the problem goes away.

Salam,
sugi.





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

Berlangganan: [EMAIL PROTECTED]
Stop Berlangganan: [EMAIL PROTECTED]
Keluhan Milis(Unbouncing,spam,dll): [EMAIL PROTECTED] 

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


Kirim email ke