Hallo teman vb,
gimana cara menambahkan angka terakhir nip misalnya nip terakhir saya 00141,
nah nanti di nip.text jadi 00142
AdoAkhir.RecordSource = "select top 1 nip from pegawai order by nip
desc"
AdoAkhir.Refresh
NIP.Text = AdoAkhir.Recordset!NIP + 1
kalau pakai perintah diatas langsung jadi 142
thank's
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/zCsqlB/TM
--------------------------------------------------------------------~->
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Forum ini berkembang dengan pesat, jika anda memiliki
dedikasi dan waktu, silahkan mengaplikasikan diri
menjadi moderator.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/