iya maksud saya memang seperti itu tapi kalau nilainya dari database gimana..?
bisa contohin enggak kalau yang pake database.. sebuah chekbox jika checked yang dimsukin adalah namanya.. dan untuk Retrieve datanya dari database.. Field1 A1,A2,A3 maka checkbok yang bernama A1, A2, A3 adalah visibile true caranya gimana ya mas..? ----- Original Message ----- From: "Kurniawan, Arlis" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, June 23, 2006 9:55 AM Subject: RE: [Programmer-VB] Nama VAriabel bisa menjadi Object > mungkin deskripsi berikut bisa menjelaskan. > > coba taruh satu label dan satu command > di form > taruh script berikut > > Private Sub Command1_Click() > Dim a As Object > Set a = Label1 > a.ForeColor = vbRed > End Sub > > regards, > > Arlis > > -----Original Message----- > > teman2 master VB, gw punya problem nih.. > > Gimana caranya sebuah Variabel itu bisa menjadi sebuah > nama Object > > misalnya gini > > dim a > a=rsotorisasi!field_a > > 'a bernilai = menu1 > > saya ingin : > a.visible = true > > hal ini g mungkin karna a adalah sebuah nama variabel > bukan object.. > > Gimana caranya supaya a itu bisa menjadi sebuah nama > objek ?? > > plz...i have dateline about this today > > > > __________________________________________________ > IMPORTANT NOTICE: > > The information in this email (and any attachments) is confidential. > If you are not the intended recipient, you must not use or disseminate the > information. > If you have received this email in error, please immediately notify me by > "Reply" command > and permanently delete the original and any copies or printouts thereof. > Although this email and any attachments are believed to be free of any virus > or > other defect that might affect any computer system into which it is received > and opened, > it is the responsibility of the recipient to ensure that it is virus free > and no responsibility > is accepted by American International Group, Inc. or its subsidiaries or > affiliates either > jointly or severally, for any loss or damage arising in any way from its > use. > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> Wahana Programmer Groups Links <*> Untuk mengunjungi sponsor milis ini, klik link berikut: http://wahanaprogrammer.net <*> Untuk menghubungi owner milis ini, kirim email ke: [EMAIL PROTECTED] <*> Konsultasi pemrogramman bisa chat disini: Yahoo! Messenger: wahanaprogrammer Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Programmer-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/
