>Cetin,
>
>While I was waiting on your reply I finally figured out I was supposed to use SQLStringConnect(). But now when I run this code a connect dialog screen pops up. It has a blank DSN name and the server is OGPL. Can you help some more?
Putting OGPL in (server=OGPL) should help. Have you got those parameters from .dsn file which connects succesfully ?
Cetin