What I am looking for is "learn how to tie your shoes" basic literature. The most basic of the basic of the basic.
Most of what I am getting from anywhere is "how to use functions" and how to write them in VBA.
Here is an example:
Expand|Select|Wrap|Line Numbers
- Option Compare Database
- Sub Form_current()
- Dim strParentDocName As String
- On Error Resume Next
- strParentDocName = Me.Parent.Name
- If Err <> 0 Then
- GoTo Form_current_exit
- Else
- On Error GoTo Form_Current_err
- If Me.Parent.Name = "Work_Order_Details_SubForm" Then
- Me.Parent![Tasks_Form].Requery
- End If
- End If
- Form_current_exit:
- Exit Sub
- Form_Current_err:
- MsgBox Err.Description
- Resume Form_current_exit
- End Sub
Expand|Select|Wrap|Line Numbers
- If Me.Parent.Name = "Work_Order_Details_SubForm"
I really don't want to learn what different function do and where they can be used, I want to learn why I would use a function instead of another and why do I have to bracket some in a syntax and why sometime I must put them in "" instead.
AH! Eureka - I am looking for the "CONVENTION" on how to write VBA
Forgive me English is not my first language, I probably do not make much sense to a lot of people.