The application open event code should look like below,
// Profile EAS Demo DB V3
SQLCA.DBMS = "ODBC"
SQLCA.Database = "EAS Demo DB V3"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='DSN=EAS Demo DB V3;UID=dba;PWD=sql'"
Connect Using SQLCA; //This line is important to connect to ur database
open(w_customer)
Main Topics
Browse All Topics





by: Treety_PatnaikPosted on 2009-07-01 at 21:43:37ID: 24760502
1> Create a ODBC for ur oracle database.
2> Then open your pb database profile there create a new profile under ODBC and set ur ODBC profile name. Aftre that just test your connection.