C
CD Tom
I don't know why I'm having problems with this function. Here's what I want
to do. I have a variable called VCDivision it can contain up to 3 characters
example L1, LS1, L2, LS2 if the variable contains the L1 and it is required
to be changed to an Lx where x = a number from 2 - 5. Here's the code I
have, I'm using a 2 position field.
VX = Mid(VCdivision, 2, 1) = VNewnumber where the Vnewnumber is say the 2.
What I get in the VX is a False. Why do I get a false instead of L2? This
is probably very simple but I can't get it to work. Thanks for any help.
to do. I have a variable called VCDivision it can contain up to 3 characters
example L1, LS1, L2, LS2 if the variable contains the L1 and it is required
to be changed to an Lx where x = a number from 2 - 5. Here's the code I
have, I'm using a 2 position field.
VX = Mid(VCdivision, 2, 1) = VNewnumber where the Vnewnumber is say the 2.
What I get in the VX is a False. Why do I get a false instead of L2? This
is probably very simple but I can't get it to work. Thanks for any help.