ConnString = 'dsn=YourDataBase;uid=YourUserID;pwd=YourPassWord;QueryLogFile=No' nHnd = SQLSTRINGCONNECT(ConnString,.T.)but to actually open multiple views you need to get a second handle from the first one as
nHnd2 = SQLCONNECT(nHnd)
With nHnd2 you can open multiple views with no problem.