Auto connect the data base [message #228388] |
Mon, 02 April 2007 19:54 |
oracleproblem
Messages: 47 Registered: May 2006 Location: Dhaka
|
Member |
|
|
Sir,
i have developed a software,but a proble is occur,
i want a user connect data base auto it mean autologin.
i write a procedure and call this proceduer when new form instance
but it not work,
PROCEDURE getData IS
connection_id EXEC_SQL.CONNTYPE;
cursorID EXEC_SQL.CURSTYPE;
BEGIN
connection_id := EXEC_SQL.OPEN_CONNECTION('carhaat/carhaat@raihan');
cursorID := EXEC_SQL.OPEN_CURSOR(connection_id);
END;
another way i have tried it
logon('carhaat','carhaat'||'@'||'raihan'); ///carhaat=user,carhaat=password,raihan=database///
but this way i have failed,any body give me a better and
easy solution,please give me example.
|
|
|
|
|
Re: Auto connect the data base [message #228655 is a reply to message #228419] |
Tue, 03 April 2007 10:02 |
oracleproblem
Messages: 47 Registered: May 2006 Location: Dhaka
|
Member |
|
|
Thakn u,
My frontend Developer 6i and backend oracle9i.
my start form in the desktop of mycomputer,
start form properties i write down
ifrun60 ?????????????????,(this is the process to my start form)
|
|
|
|