I write following code it working find but only problem is coming on pop up window is coming after clicking on ok button in pop up window it will connect to database.
How can i remove pop window.please help me.
SQLCA.DBMS = 'ODBC'
SQLCA.DBParm &
= "ConnectString='Provider = SYC;Driver={SYBASE ASE ODBC Driver};" &
+ "Servername=pius;UID=test_sa;PWD=password123;Database=dist_test;ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMPT'"
//+ "AutoStop=No;Integrated=No;" &
// + "CommLinks=SharedMemory,TCPIP{HOST=tsunami;DOBROAD=NONE};" &
// + "ConnectOption='SQL_DRIVER_CONNECT,SQL_DRIVER_NOPROMPT'"
CONNECT USING SQLCA;
IF SQLCA.SQLCODE <> 0 THEN
MessageBox ( 'Error', &
'CONNECT failed in open:' &
+ '~r~nSQLCode = ' &
+ String ( SQLCA.SQLCode ) &
+ '~r~nSQLDBCode = ' &
+ String ( SQLCA.SQLDBCode ) &
+ '~r~n' &
+ SQLCA.SQLErrText )
RETURN
END IF