avatar
My SQL and Crystal report# Database - 数据库
e*c
1
Now I try to migrate my Visual Basic Application from MS SQL to My SQL, but i
met problem when i use crystalreport which connects My SQL . Below is my code:
CrystalReport1.Connect = "DSN=TestDB;uid=amy;pwd="
CrystalReport1.Destination = 0 ' 0-window 1-printer
CrystalReport1.ReportFileName = CrystalReportDir &
"\CrystalReport\Tracking\test.rpt"
sql = "select * from Score"
CrystalReport1.SQLQuery = sql
CrystalReport1.Action = 1
When this program execute the last line of code, following error
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。