新手需要帮助读取VS2008 Crystal Reports的Excel单元格值 [英] Newbie needs help reading Excel cell values for VS2008 Crystal Reports

查看:120
本文介绍了新手需要帮助读取VS2008 Crystal Reports的Excel单元格值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个VB项目,我正在Visual Studio 2008中工作。由于没有使用嵌入式Crystal Reports的经验,我发现它非常令人沮丧。我有一个Excel 2007电子表格,我希望从中获取不同工作表上的几个单元格的值,并在Crystal Reports报表中显示该信息以及其他一些数据。

尝试使用Crystal Reports向导创建新连接时遇到的第一个问题是它似乎支持不高于Excel 8的Excel版本。难道不是Excel 97吗?虽然我可以看到我正在尝试连接的Excel文件但是我从Crystal Reports收到一条错误消息,说它无法读取加密文件。我的VB应用程序从加密电子表格中读取数据没有问题,那么为什么Crystal Reports?任何帮助或方向将非常感谢。顺便说一句,我几天前在Business Objects论坛上发布了一个类似的问题但没有回复。这是一个很好的帮助来源。


I have a VB project I'm working on in Visual Studio 2008.  With no experience using the embedded Crystal Reports I'm finding it pretty frustrating.  I have an Excel 2007 spreadsheet from which I'd like to get the values of several cells on different worksheets and display that information along with some other data in a Crystal Reports report. 

The first issue I run into when trying to create a new connection using the Crystal Reports wizard is that it appears to support Excel versions no higher than Excel 8.  Isn't that Excel 97?  Though I can see the Excel file I'm trying to connect to I get an error message from Crystal Reports saying it can't read the encrypted file.  My VB app has no problem reading data from the encrypted spreadsheet, so why would Crystal Reports?  Any help or direction would be very much appreciated.  BTW, I posted a similar question on the Business Objects forum days ago with no response.  That's a great source for help.

推荐答案

所以,要清楚......你是否正在使用excel电子表格作为数据库?你试图从电子表格中提取值并将它们输出到水晶报告?
so, to be clear ... you're using an excel spreadsheet as your database?  and you're trying to pull values from the spreadsheet and output them to a crystal report?


这篇关于新手需要帮助读取VS2008 Crystal Reports的Excel单元格值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆