Haven't tried it, but couldn't you use filetostr to get the contents of the DSN and then use SQLStringConnect?
Bill
>How do you connect to a file data source using SPT?
>
>SQLConnect('xyz') works fine with User and/or System DSN but not File DSN.
Bill Mittenzwey