Hi,
This SPT code works fine while within vfp9, however it asks for credentials after being compiled into an exe. The connection string is intentionally embedded into the exe. What needs to be done for it to work in an exe without any prompts as this runs headless?
lcDSNLess = "Driver={SQL Server}; Server=zzzDAS; UId=sa; Pwd=passw"
gnConnectionHandle = Sqlstringconnect((lcDSNLess), .T.)
Thanks for your help,
Stanley Barnett