Gunakan satu dari metode berikut :

 

- TXT_Angka2 = right(trim(TXT_Angka1),4)

- TXT_Angka2 = mid(TXT_Angka1,len(trim(TXT_Angka1))-3,4)

- TXT_Angka2 = substr(TXT_Angka1,len(trim(TXT_Angka1))-3,4)

 

Mudah-mudahan membantu

 

Salam,

Edi

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Didi
Sent: Wednesday, April 02, 2008 10:36 AM
To: [email protected]
Subject: [indoprog-vb] Tanya: ambil 4 digit dari belakang

 

Rekan-rekan,

Saya mau Tanya mengenai cara pengambilan 4 digit dari belakang.

Contoh: Pada TXT_Angka1 terisi 130.00000-08.00000123 dan maunya di
TXT_Angka2 hanya terisi 0123 (mengambil 4 digit terakhir saja di saat
event keypress)

Mohon bantuannya dan terima kasih sebelumnya.

Salam,

Didi

[Non-text portions of this message have been removed]

 





NOTICE - This message and any attached files may contain information that is 
confidential and intended only for use by the intended recipient. If you are 
not the intended recipient or the person responsible for delivering the message 
to the intended recipient, be advised that you have received this message in 
error and that any dissemination, copying or use of this message or attachment 
is strictly forbidden, as is the disclosure of the information therein. If you 
have received this message in error please notify the sender immediately and 
delete the message.


[Non-text portions of this message have been removed]

Kirim email ke