that did it thanks a lot.
but why do you have to rebuild the string, is it because of the space
in the name?
Jerry
>Hi Jerry
>
[quoted text clipped - 22 lines]
>>
>> Jerry
DickChristoph - 05 Apr 2006 20:13 GMT
Hi Jerry
No It is because the syntax of VBA doesn't allow a variable in this context.
Given this it would expect the field name is "column (i)" which not only
isn't what you want but has nothing to do with the value of i.
>>> tempname = FindSpaces(rs![column (i)])
-Dick Christoph
> that did it thanks a lot.
> but why do you have to rebuild the string, is it because of the space
[quoted text clipped - 28 lines]
>>>
>>> Jerry