Hi Benn,
=SQLEXEC(x,"SELECT [as-rno] as as_rno from table")
=SQLEXEC(x,[SELECT "as-rno" as as_rno from table])
MartinJ
>Hi,
>
>I have to select a field from a remote table that contains a '-' in the fieldname (as-rno). The SQLEXEC() returns an error on this field.
>
>How do I fix this problem ??????
>
>Best regards
>Benn