artinya:
if isnull(fieldTeks) then
debug.print ""
else
debug.print fieldTeks
endif
debug.print NZ(fieldNumerik,0)
artinya:
if isnull(fieldNumerik) then
debug.print 0
else
debug.print fieldNumerik
endif
NZ = NullZero
aksan kurdin
On 3/20/2011 5:14 AM, Ahmad Qomaruddin wrote:
> pak bisa dijelaskan lebih lanjut penggunaan fungsi Nz? saya masih
> bingung mempraktekkannya, selama ini masih pakai fungsi gabungan
> antara If dan IsNull. Terima kasih sebelumnya.
>
> On 3/20/11, Darsono<darsono72@yahoo.com> wrote:
>> Nz itu akan menjadikan nilai Null menjadi 0, sehingga bisa di lakukan fungsi
>> penjumlahan.
>>
>>
>>
>> --- On Sat, 3/19/11, Hendra Agestha Hamid<the_agestha@yahoo.com> wrote:
>>
>> From: Hendra Agestha Hamid<the_agestha@yahoo.com>
>> Subject: Re: [belajar-access] Re: No Transaksi otomatis
>> To: belajar-access@yahoogroups.com
>> Date: Saturday, March 19, 2011, 1:02 PM
>>
>> Mas Aksan fungsi nz itu buat apa mas ? saya dah buka helpnya masih ngambang
>> ngertinya, setangkap saya untuk meng-convert isi field
>> menjadi suatu nilai bila field itu adalah Null, trus gimana logikanya kok
>> mas pakai fungsi nz itu di coding
>>
>> Nz(DMax("Mid([No],0,7),"Table1"),0)+1)
>>
>> Tengkyu mas...
>>
>> From: Aksan Kurdin<aksan.kurdin@gmail.com>
>> To: belajar-access@yahoogroups.com
>> Sent: Fri, March 18, 2011 9:25:15 AM
>> Subject: Re: [belajar-access] Re: No Transaksi otomatis
>>
>>
>>
>>
>>
>>
>>
>>
>> Katanya 1 gambar seribu kata-kata:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Aksan Kurdin
>>
>>
>>
>>
>>
>>
>>
>> On 3/18/2011 8:55 AM, Sutrisno Ae wrote:
>>
>>
>>
>>
>>
>> Pak Akhsan
>>
>> bisa ngasih contoh yang lebih detail ga, maklum lagi
>> belajar neh
>>
>>
>>
>> thx
>>
>>
>>
>>
>>
>> From:
>> aksankurdin<aksan.kurdin@gmail.com>
>>
>> To:
>> belajar-access@yahoogroups.com
>>
>> Sent:
>> Fri, March 18, 2011 4:18:08 AM
>>
>> Subject:
>> [belajar-access] Re: No Transaksi otomatis
>>
>>
>>
>>
>>
>> Letakkan fungsi untuk mengambil nomor baru di
>> event before update dari form tersebut.
>>
>> Pseude code seperti ini:
>>
>>
>>
>> if me.newrecord then
>>
>> fieldNomor = AmbilNomorBaru()
>>
>> endif
>>
>>
>>
>> Aksan Kurdin
>>
>>
>>
>> --- In belajar-access@yahoogroups.com,
>> Hendra Agestha Hamid<the_agestha@...>
>> wrote:
>>
>> >
>>
>> > Dear mas Trisnoe..
>>
>> >
>>
>> > Kalo saya pake fungsi Iif, bisa dibuat di
>> Query contoh :
>>
>> >
>>
>> > Kode: IIf([JurKelas]="",[JenjPend_NL]&
>> "/"& [Kelas_NL]& "."&
>>
>> > [SubKelas_NL],[JenjPend_NL]& "/"&
>> [Kelas_NL]& "."& [JurKelas]& "."
>> &
>>
>> > [SubKelas_NL])
>>
>> >
>>
>> > atau :
>>
>> >
>>
>> > KodeKls: IIf([AutoNumbKK]<10,"KK0"&
>> [AutoNumbKK],"KK"& [AutoNumbKK])
>>
>> >
>>
>> > Cuma saya belum tahu gimana caranya supaya
>> contoh2 field diatas otomatis menjadi
>>
>> > Primary Key, sebenarnya tau Cuma blm pernah
>> saya praktekkan yaitu dengan "Query
>>
>> > Make Table".
>>
>> > Karena msh males nyoba "Query Make Table" itu
>> (...) maka saya bikin contoh2 di
>>
>> > atas pada unbound text box, kemudian operator
>> tinggal mengetikkan isinya ke
>>
>> > sebuah field yg kita set sbg PK.
>>
>> > Saya yakin Suhu2 Access punya jurus yg lebih
>> canggih.
>>
>> >
>>
>> > Regards
>>
>> > Hendra
>>
>> >
>>
>> >
>>
>> >
>>
>> > ________________________________
>>
>> > From: Soetrisno<trisno_ae@...>
>>
>> > To: belajar-access@yahoogroups.com
>>
>> > Sent: Thu, March 17, 2011 5:38:20 PM
>>
>> > Subject: [belajar-access] No Transaksi
>> otomatis
>>
>> >
>>
>> >
>>
>> > salam kenal
>>
>> > para master access
>>
>> >
>>
>> > mohon pencerahannya, bagaimana cara membuat
>> no transaksi otomatis, pada saat
>>
>> > menambah data baru pada form transaksi no
>> tersebut akan muncul secara otomatis.
>>
>> > contoh: 001/AB-CD/VI/11,
>>
>> >
>>
>> > terima kasih
>>
>> >
>>
>> > salam,
>>
>> >
>>
>> > trisnoe
>>
>> >
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
------------------------------------
SPAM IS PROHIBITEDYahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/belajar-access/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/belajar-access/join
(Yahoo! ID required)
<*> To change settings via email:
belajar-access-digest@yahoogroups.com
belajar-access-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
belajar-access-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
No comments:
Post a Comment