lnHandle = SQLCONNECT(< datasource >, < UserID >, < Password >) && works fine... * Here's the odd thing: =SQLDISCONNECT(lnHandle) && quits FoxPro/.EXE * My .EXE gets terminated, or from command window - quits FoxProAnyone have any idea why it behaves like this. I run the same on my other computer with Win 95 and it works just fine, it always have. Also our clients, running the app on Win NT don't have any problems (at least not reported any), so I'm convinced it's something with my configuration.