Di coba ini pak,
Dim Tx as string
Dim Rst as Integer
Tx = Text1
Rst=0
For I=1 to len(Tx)
Rst= Rst + val(mid(Tx, I , 1)
Next I
Text2 = Rst
Salam,
Roland
Powered by Telkomsel BlackBerry®
From: Dayamin Abu Lutfi <yadhistlkka@gmail.com>
Sender: belajar-access@yahoogroups.com
Date: Tue, 18 Dec 2012 19:20:09 +0800
To: <belajar-access@yahoogroups.com>
ReplyTo: belajar-access@yahoogroups.com
Subject: [belajar-access] Re: menjumlahkan nilai dalam satu record
maaf ada kesalahan ketik seharusnya nilai Text2 = 21
2012/12/18 Dayamin Abu Lutfi <yadhistlkka@gmail.com>
para suhu access yang terhormat mohon pencerahannya, saya punya problem seperti ini misalnya value dari Text1 = 123456 (dengan tipe data text) maka nilai Text2 = 6 (hasil penjumlahan dari text1 dengan tipe data number), Text2 adalah text box yang ditambahkan dalam report, jadi bagaimanakah rumus untuk text box Text2 tersebut?
terima kasih
__._,_.___
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (3) |
SPAM IS PROHIBITED
.
__,_._,___
No comments:
Post a Comment