Wait For (CallSub(Me, "job1")) Complete (Result As Boolean)
If Result Then
Wait For (CallSub(Me, "job2")) Complete (Result As Boolean)
If Result Then
....................
SQL.AddNonQueryToBatch(................))
SQL.ExecNonQueryBatch("SQL")
End If
End If
Sub SQL_NonQueryComplete (Success As Boolean)
If Success Then
Wait For (CallSub(Me, "job3")) Complete (Result As Boolean)
If Result Then
......
End If
End If
End Sub