D
Darhl Thomason
I'm familiar with the Left (and Right and Mid) commands, but my brain
evidently isn't firing on all cylinders today. My code is inside an
On_Click event for a command button and the value is returning the same as
the main string. txtNumber is bound to Number which is always a 5 character
field (set as primary key), but when I use this code, strTemp results in the
same text as Me.txtNumber.
strTemp = Left(Me.txtNumber, 2)
I have it working properly on a report where the control source of a text
box is
Left([Number],2)
Thanks!
Darhl
evidently isn't firing on all cylinders today. My code is inside an
On_Click event for a command button and the value is returning the same as
the main string. txtNumber is bound to Number which is always a 5 character
field (set as primary key), but when I use this code, strTemp results in the
same text as Me.txtNumber.
strTemp = Left(Me.txtNumber, 2)
I have it working properly on a report where the control source of a text
box is
Left([Number],2)
Thanks!
Darhl