Relatively easy design question
Related to an earlier post. I've got a bunch of input fields. And these drive some non-trivial calculations. A!FlowRate, for example, is a deal breaker. If that is zero, I don't even want to bother calculating anything.
Is this appropriate design?
Public Sub BlahBlahBlah()
If A!FlowRate = 0 Then
End Sub
Else
'Do the rest of the subroutine
End if
End Sub
(Yes, A is a form).
The book I have is great on Syntax (you mean they tax that too??), but like all books can't give you a lot of interactive design choice help.
Much Appreciated.
Chris
-->Just because you can, doesn't mean you should.
Related to an earlier post. I've got a bunch of input fields. And these drive some non-trivial calculations. A!FlowRate, for example, is a deal breaker. If that is zero, I don't even want to bother calculating anything.
Is this appropriate design?
Public Sub BlahBlahBlah()
If A!FlowRate = 0 Then
End Sub
Else
'Do the rest of the subroutine
End if
End Sub
(Yes, A is a form).
The book I have is great on Syntax (you mean they tax that too??), but like all books can't give you a lot of interactive design choice help.
Much Appreciated.
Chris
-->Just because you can, doesn't mean you should.