Thursday, November 13, 2003, 7:59:09 AM, Yc wrote: Y> Wah anda betul. Y> saya sudah coba dan berhasil. Maklum nih, masih baru di Delphi :-) Y> Terimkasih P'Iwan, juga P'Aris dan yg lainnya. Y> -yacob......... Y> Coba anda tambahkan perintah ClientDataSet1.ApplyUpdates(-1) Y> setelah ClientDataSet1.Post, baru setelah itu anda lakukan Y> ClientDataSet1.refresh. Y> Atau jika anda ingin membatalkan update tersebut gunakan Y> ClientDataSet1.CancelUpdates.
Function ApplyUpdates(MaxErrors: Integer); Integer; virtual; Call ApplyUpdates to write all updated, inserted, and deleted records from the client dataset to the provider on the application server. MaxErrors indicates the maximum number of errors that the provider should allow before prematurely stopping the update operation. Set MaxErrors to �1 to indicate that there is no limit to the number of errors. pengalaman saya kalo ApplyUpdates(-1) maka update bisa masuk sebagian, yang akan di-reconcile hanya record yang bermasalah. Gunakan ApplyUdates(0) jika ingin berhasil semua atau gagal semua. Tentu saja tak berbeda untuk transaksi yang melibatkan satu record doang. rgrds, Gulut ------------------------ 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/
