VBA explanation ..?

J

Jan Smit

Hello
I'm a newbee with respect to VBA and want to learn it.
I've found the 3 modules on internet , include the table , form and modules
.. It's working excellent , but I don't know exactly what is happening and
why it is so beautiful working. Can somebody me explain what is happening
per line ...??
Thanks

Jan


Public lngKey As Long
Public Function funkey () As Long
' Call 1 record
funKey = lngKey
End Function
==============================
Public Function funsearch(frmForm As Form, strControlnaam As String)
frmForm(strControlnaam).SetFocus
frmForm(strControlnaam).Dropdown
End Function
========================================
Public Function funsearch(frmForm As Form, lngKey As Long)
lngKey = lngKey
frmForm.RecordSource = frmForm.RecordSource
End Function
 
Top