Hi.
I need help declaring a dimension based upon a selection statement:
I get an error message saying that that the variable "testpayto" has been declared already, but clearly it cannot have been becuase the selection only dimensions based upon the "selection" value.
Can anybody help?
I need help declaring a dimension based upon a selection statement:
Code:
If selection = "D" Then
Dim testpayto as Form_frmCustomers
Else
If selection = "F" then
dim testpayto as Form_frmCustomers[2]
End If
End If
I get an error message saying that that the variable "testpayto" has been declared already, but clearly it cannot have been becuase the selection only dimensions based upon the "selection" value.
Can anybody help?