>>>Your suggestion with the PADR() around the REPLICATE, gives the same error. The number (10 or 15) has to match the field length.
>
>Aha! In that case try this:
>
>
? LEN(REPLICATE("&bsp;",-1))
>
>A single culprit REFERENCE longer than 10 char could cause this.
MUST cause this.
The problem is the use of ALLTRIM with a field longer then 10 chars in SELECT SQL. Look at message#
01684075, I gave all the info were the problem comes from there.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]