*Dengan logika "DO CASE"
1. buat Form seperti
=> masukkan scrib/listing ke comman "proses":
DO case
CASE VAL(thisform.text2.Value)=>60
thisform.text3.Value="Lansia"
CASE VAL(thisform.text2.Value)=>21 and VAL(thisform.text2.Value)=<60
thisform.text3.Value="Dewasa"
CASE VAL(thisform.text2.Value)=>17 and VAL(thisform.text2.Value)=<20
thisform.text3.Value="Remaja"
CASE VAL(thisform.text2.Value)=>5 and VAL(thisform.text2.Value)<17
thisform.text3.Value="Anak-anak"
CASE VAL(thisform.text2.Value)<5
thisform.text3.Value="Balita"
otherwise
thisform.text3.Value=""
endcase
3. Silahkan Run aplikasi dan lihat hasil..
kurang lebih hasilnya seperti ini..
Semoga berhasil.. :)
+ komentar + 1 komentar
segera dicoba gan...
http://cody.id/produk/blower/blower-cody-858-digital/
Posting Komentar