Bisa di coba dgn menambahkan satu baris command di event "OnClick" pada
tombol "Add" tsb, contoh:

Private Sub cmdAdd_Click()
On Error GoTo Err_cmdAdd_Click

    DoCmd.GoToRecord , , acNewRec
    Me.[Nama Field B] = "1"  'Baris ini yg ditambahkan

Exit_cmdAdd_Click:
    Exit Sub

Err_cmdAdd_Click:
    MsgBox Err.Description
    Resume Exit_cmdAdd_Click

End Sub

Semoga membantu,
Ian



                                                                           
             "lutfi"                                                       
             <[EMAIL PROTECTED]                                                
             .co.id>                                                       
             Sent by:                                                      
             [EMAIL PROTECTED]                                                
             groups.com                                                    
                                                                           
             07/05/2006                                                    
             09:30 AM                                                      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           


numpang tanya,
sepertinya dalam suatu tabel ada field A dan B. untuk pengisian field A
dilakukan dengan cara input pada sebuah form. sedangkan untuk field B cara
memasukannya secara otomatis berbarengan ketika berbarengan mengklik tombol

add. Sepertinya field B tersebut saya pengen isinya angka 1. Jadi tiap saya

klik tombol Add field B tersebut otomatis terisi dengan angka 1.
terima kasih



------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/BRUplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/mailplus/

<*> 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/
 


Kirim email ke