By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,361 Members | 2,042 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,361 IT Pros & Developers. It's quick & easy.

Extracting data from an excel sheet

P: 1
Hi,

I have a interesting thing to know and discuss with you.

I am extracting data from an Excel file in a Delphi DbGrid through SQL. I want to create a criteria on a specific cell value of the excel file. I want to retrieve a record if the value of a particular column in excel say D4 is < 0 where D is the column and D4 the cell value. If this condition is met then we display that record in the Delphi DBGrid.

Is this possible through a SQL?

The sql I wrote gave me multiple records as I used the fieldname for checking.
I wrote Select * from "Sheet1$" where "Sheet1$".<column name> <0.

Please help.

Regards,
Sunil
Oct 12 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.