Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

catastrophic error connect excel with ado

Status
Not open for further replies.

kyriakos70

Programmer
Jul 24, 2008
87
GR
Hi,
I have an excel spreadsheet and want to connect it with ado to a delphi app.
I use adoconnection adodataset and a dbgrid. At design time I use jet 4.0 with extented parameters excel 8.0, the connection works well but when I try to run the application I get a message "catastrophic error" and stops in the application run in code when I break it, but at design time works perfect.

Thank you
 
design time parameters <> run time parameters.
What else could it be?

Try viewing your connection DataModule "as text". Copy/Paste to the IDE and convert to pascal code.
Call it in OnCreate or wherever you feel appropriate.

Let us know if you have a breakthrough. goodluck

Roo
Delphi Rules!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top