Crystal OCX |
| sundar k replied to Kaleem Khan at 05-Jul-08 01:29 |
Create a ODBC DSN to connect to Oracle database (goto Control panel -> Administrative Tools -> ODBC ->Create a New DSN), lets say you have created a dsn name by test, then your code will be as,
CrystalReport1.Connect = "DSN=test" CrystalReport1.SQLQuery = "your select statement" CrystalReport1.ReportFileName = App.Path & "\Report.rpt" CrystalReport1.Action = 1
|
|