koneksi.Execute ("update tbmastercuti set jumlah cuti = jumlah cuti-val(*pengambilan cuti.text*) where id = *id.text*")

 

* * -> adalah textbox di form transaksi cuti

 

Thanks and Regards,

MARETA MUJIBURRACHMAN

CCB-Customer Care

08176061603 | [EMAIL PROTECTED]


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bambang Triono
Sent: Friday, October 13, 2006 10:41 AM
To: [email protected]
Subject: [Programmer-VB] Coding VB untuk Cuti...

 

Kawan Vbers.... saya lagi buat aplikasi SDM, dimana salah satu tabelnya adalah tabel cuti, ada sedikit masalah dalam proses logika alur cuti, dimana misalnya :

Jatah juti dalam setahun misal ada 16 hari, gimana dalam proses transaksi cuti setiap pengambilan cuti akan mempengaruhi jumlah cuti yang ada sehingga jika telah habis jumlahnya menjadi 0.

Saya menggunakan dua tabel ; TbMasterCuti dan TbTransaksiCuti  dimana jumlah cuti yang tersisa ada di master cuti ada yang bisa bantu saya.....


Terima Kasih

 Send instant messages to your online friends http://uk.messenger.yahoo.com

__._,_.___

Wahana Programmer Groups Links

<*> Untuk mengunjungi sponsor milis ini, klik link berikut:
    http://wahanaprogrammer.net

<*> Untuk menghubungi owner milis ini, kirim email ke:
    [EMAIL PROTECTED]

<*> Konsultasi pemrogramman bisa chat disini:
    Yahoo! Messenger: wahanaprogrammer





SPONSORED LINKS
Indonesia phone card Programmer Indonesia tour
Indonesia travel Indonesia flower

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___ =========================================================
This e-mail, including any attachment is confidential and may be privileged. Use or disclosure of it by anyone other than an intended adressee is strictly prohibited. If you are not an intended addressee, please notify the sender by telephone or e-mail and delete the e-mail and any attachment from your system.

PT Excelcomindo Pratama Tbk. ("the " Company") does not accept any liability in respect of communication made by its employee which is contrary to the company policy or outside the scope of the employment of the individual concerned. The employee responsible will be personally liable for any damages or other liability arising.
==================================================================================================================
This e-mail, including any attachment is confidential and may be privileged. Use or disclosure of it by anyone other than an intended adressee is strictly prohibited. If you are not an intended addressee, please notify the sender by telephone or e-mail and delete the e-mail and any attachment from your system.

PT Excelcomindo Pratama Tbk. ("the " Company") does not accept any liability in respect of communication made by its employee which is contrary to the company policy or outside the scope of the employment of the individual concerned. The employee responsible will be personally liable for any damages or other liability arising.
=========================================================

Kirim email ke