We are trying to use the following line, okay well while debugging we took it down to the following line, in hopes of solving the problem, but thus far havent.
SELECT ATC(' ',misc.desc),LEFT(misc.desc,ATC(' ',misc.desc)) FROM misc
The first ATC() returns the correct Position of the space from the field (i.e. 4,5,7,3,2,9,etc.); however, the LEFT() with the ATC() always returns four charcters and not the Position that corresponds with the field.
Is this by default, a bug, or are we doing something wrong?
TIA,
Jason and Randal
SELECT ATC(' ',misc.desc),LEFT(misc.desc,ATC(' ',misc.desc)) FROM misc
The first ATC() returns the correct Position of the space from the field (i.e. 4,5,7,3,2,9,etc.); however, the LEFT() with the ATC() always returns four charcters and not the Position that corresponds with the field.
Is this by default, a bug, or are we doing something wrong?
TIA,
Jason and Randal