D
Dan
Can anyone tell me how to put the following code into a Select Case so that
it will look better? I have tried many times but can not get the right
syntax for the Not IsNull in the Case Statement.
Thanks in advance,
If Not IsNull(txtSerial1.Value) Then
![Serial] = txtSerial1.Value
Else
If Not IsNull(txtSerial2.Value) Then
![Serial] = txtSerial2.Value
Else
If Not IsNull(txtSerial3.Value) Then
![Serial] = txtSerial3.Value
Else
If Not IsNull(txtSerial4.Value) Then
![Serial] = txtSerial4.Value
Else
If Not IsNull(txtSerial5.Value) Then
![Serial] = txtSerial5.Value
Else
If Not IsNull(txtSerial6.Value) Then
![Serial] = txtSerial6.Value
Else
If Not IsNull(txtSerial7.Value) Then
![Serial] = txtSerial7.Value
Else
End If
End If
End If
End If
End If
End If
End If
it will look better? I have tried many times but can not get the right
syntax for the Not IsNull in the Case Statement.
Thanks in advance,
If Not IsNull(txtSerial1.Value) Then
![Serial] = txtSerial1.Value
Else
If Not IsNull(txtSerial2.Value) Then
![Serial] = txtSerial2.Value
Else
If Not IsNull(txtSerial3.Value) Then
![Serial] = txtSerial3.Value
Else
If Not IsNull(txtSerial4.Value) Then
![Serial] = txtSerial4.Value
Else
If Not IsNull(txtSerial5.Value) Then
![Serial] = txtSerial5.Value
Else
If Not IsNull(txtSerial6.Value) Then
![Serial] = txtSerial6.Value
Else
If Not IsNull(txtSerial7.Value) Then
![Serial] = txtSerial7.Value
Else
End If
End If
End If
End If
End If
End If
End If