Sorry I overlooked you code.
lcDSNLess = "DRIVER=SQL Server;SERVER=MYSERVERNAME;UID=sa;PWD=sa"
nConn = SQLSTRINGConnect(lcDSNLess)
This should work.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."