Good afternoon,
Can someone please tell me how I could go about using variables declared within an If/Then statement outside of the block but in the same procedure. Example:
Public Sub Test()
If test = 1 Then
Dim var As OleDBConnection
Else
Dim var As sqlConnection
End If
End Sub
Thank you in advance.
Dolphin Bay, Inc. -- turning visions into eReality(tm) -- West Palm Beach, FL
Website Design, Internet Strategy, Search Engine Marketing
www.DolphinBay.biz