I suspect the driver: This is what I use:
AMS_SQLConnectionFormLetters.DriverName := 'MSSQL';
AMS_SQLConnectionFormLetters.LibraryName := 'dbexpmss.dll';
AMS_SQLConnectionFormLetters.VendorLib := 'oledb';
AMS_SQLConnectionFormLetters.GetDriverFunc :=
'getSQLDriverMSSQL';
and this is my connectionstring:
DriverName=MSSQL
HostName=NRSHBSQLS01\ClientSubs
DataBase=AMS
User_Name=xxxxxxxxxxxx
Password=xxxxxxxxxxxx
BlobSize=-1
LocaleCode=0000
MSSQL TransIsolation=ReadCommited
OS Authentication=False
Any help is appriciated
Jan