Hi Bob,
Can you post the SQLCONNECT() command? Is DBC open at the time when SQLCONNECT() is run? Is there a reason you're not using DSN-less connection (SQLSTRINGCONNECT()) ?
>OH, and I've also copied the command from the .prg into the command window and get the same error also.
>
--sb--