Thanks to Mas Darmawan, dan Simbok...
Darmawan Milist <[EMAIL PROTECTED]> wrote: Atau ini,
for i=1 to 99999
strNomer="PA/" & format(i, "0000#") & "/2006"
next
Begitu kira-kira... en cmiiw...
Darmawan
simbok_cahyo wrote:
> coba ini:
>
> next_no = "PA/" + Right("000000" + CStr(Val(Mid("PA/00001/2006", 4,
> 6)) + 1), 6) + "/2006"
>
> --- In [email protected]
> <mailto:indoprog-vb%40yahoogroups.com>, sick of it all <[EMAIL PROTECTED]>
> wrote:
> >
> > Dear teman-teman
> >
> >
> > saya punya format : PA/00001/2006 gimananya mensetnya supaya
> nilai dari "00001" bertambah secara otomatis jika di add menjadi
> PA/00002/2006 - PA/99999/2006
> >
> >
> > Terima Kasih,
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
[Non-text portions of this message have been removed]
------------------------ 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/