>>
>>If the SQL Server Express is installed to your computer and you are the administrator of that computer you can use Windows Authentication instead of SQL Server one.
>>Also, keep in mind that default installation of SQL Server Express create a named instance "SQLEXPRESS". So, what happens with this:
>>
>>lnHandle = SQLSTRINGCONNECT("Driver=SQL Server;Server=.\SQLEXPRESS;DataBase=TheNameOfTheDB;Trusted_Connection=yes;")
>>IF lnHandle < 0
>> AERROR(laError)
>> messagebox(laError[1,2])
>>ENDIF
>>
>This works. Thanks.
>Is there a way to turn this into a named connection?
Why would you want to do that?
--sb--