D
disneygoof via AccessMonster.com
This is a really good one...I have been trying all sorts of different
combinations and I get the same result each time. NOW with this said, I did
solve this problem and I am offering this to everyone for FYI. Feel free to
verify this and let me know WHY???? this is happening, I fixed it but I don't
know why it's happening
below is my code..partial...
inlen = Me.DummyNum.SelLength
numVal = left(DummyNum, inlen - 1)
If IsNumeric(numVal) Then
inval = numVal
Me.Number = inval
Me.Num = str(inval) & Me.SubNum & Me.Type
Me.DummyNum = str(inval) & Me.Type
Else...
Without going into too much detail, you see two TEXTBOX fiels 'Num" and
DummyNum"...don't ask...
The only difference between the two is the "SUBNUM" field (this is letter: a,
b, c, etc)
ISSUE:
The 'DummyNum' field, after concatenation, is somehting like "20E"...without
the quotes.
The 'Num' field, after concatenation, comes out somehting like " 20aE"...
without the quotes..note the leading space infront of the "20".
SOLUTION:
I got rid of the str(inval) and just used 'inval'.
Keep in mind, I do not get his issue with the "DummyNum" field using str
(inval)....
All comments are welcome. I am courious as to WHY this is happening...
combinations and I get the same result each time. NOW with this said, I did
solve this problem and I am offering this to everyone for FYI. Feel free to
verify this and let me know WHY???? this is happening, I fixed it but I don't
know why it's happening
below is my code..partial...
inlen = Me.DummyNum.SelLength
numVal = left(DummyNum, inlen - 1)
If IsNumeric(numVal) Then
inval = numVal
Me.Number = inval
Me.Num = str(inval) & Me.SubNum & Me.Type
Me.DummyNum = str(inval) & Me.Type
Else...
Without going into too much detail, you see two TEXTBOX fiels 'Num" and
DummyNum"...don't ask...
The only difference between the two is the "SUBNUM" field (this is letter: a,
b, c, etc)
ISSUE:
The 'DummyNum' field, after concatenation, is somehting like "20E"...without
the quotes.
The 'Num' field, after concatenation, comes out somehting like " 20aE"...
without the quotes..note the leading space infront of the "20".
SOLUTION:
I got rid of the str(inval) and just used 'inval'.
Keep in mind, I do not get his issue with the "DummyNum" field using str
(inval)....
All comments are welcome. I am courious as to WHY this is happening...