Anglee 发表于 2015-1-22 14:14:25

报表系统提取外部数据

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />做了一个报表,想提取外部数据库的仓库名称,
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfEAAACFCAIAAADElFZJAAAPKklEQVR4nO2dMY7zNhOGeSZ3uooOIOCvg1QBnDqVgJzAqQKkDaAmRbJAbqFq8RUBsllkkyqd/kKyRJEzQ8qyvV7u8+LBwpaoIUUNX9G013ZvCCGESpF77wYghBC6mvB0hBAqR+6EEEKoFLkBIYRQKWLtBSGEyhGejhBC5QhPRwihcoSnI4RQOcLTEUKoHOHpCCFUjvB0hBAqR5OnO5c297GMVjI/AkIIoRtps6drhbWNtna0HCGEUKhLPN3fYpu1eBuw7w0IIYQulmC1b9nza9Gp3yKzti0eIYTQtSQbtFbU2GJ4ur/RWI7H6BFCaKdc0ouNvcH9QLs9BH4t2jeejhBC+2XZdLDYkvT0N8ncmZgjhNDdtGG9RfP0uIw4TxdX5BFCCF1RicV07d3OPUdpWzB6hBDaqaw3NoOnybdV8XSEEHoXJZZE4l3BYy2oVQf2jRBCt5H6QXL77c3ggb8rPjBnno4QQmi/8FaEECpHeDpCCJUjPB0hhMoRno4QQuXInRBCCH00DcMge/r/EEIIfSh9+fJF9fRheAYAgPfiv//++/Llyx9//PH6+vq3p7e3t/HvrH/++efff//9888/8XQAgAflVp7unJsf+Lpi0/1oYmS7Oq2Fm5qaLHbdUy6YTT0ZFNau4BU7P65xf/nMmDvzHD4b9/B0ceOesTeWj/+KxYzq4mMv8GhtS1zj1Y2mJIwrmLTspBsaEeKrI16mIEnswkOUWvlpowVxO/IcPhXvNk93kbFuTUQxmljAGJ9GMbtee2CLMYNh2beH+cCqfRqG56E/VsGWmf5YVcd+fuwObT/uOjWu7rZeeD9a/PQ90Drf6Mn8Y3MK25HjdDUCakf5BeK00YbAtfIcPgnX9/QcpxvyRsuaU1MdeyV+/lNtzBgFRIyRPD+NmzH/7duDW2z0qW2O/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u4HsZFzezruGo7P+JGrt4jnb3A//7xxekWZ+yaQzW/d9fVVXVYPjDj2VA4yY2/6VdejJYWLrx3NcewzWQ3T211aHsh8rrAhzyF0PrXjQmbFz5IfK/ymqz1dDu9MzNZMxT/qbieroU1htugDEmtGdPjdapsPWWxwC1ialfEOH08PcEmP41730g+41KJYY0t8b0nKBZ9lvG8DuOc86eEXkaGdwLPO6a1eOeqphZmi8ayxqC/weivFYxhp+nt3OYoslzgQ51CEPnssGrzxAerPtFyKfdzL2JGzbvs/BfTXgkifO7FqN0eVlqT4kOWLbr/+gc6c6CF53WLmHqf285g9MwdeGhPTydHtNFIR/HSap0eFNByIucCA2j4n0/30fIzma5Zx0qfTzcC2m3TRpkxcDKr08ZXMtrVYyZ9/4Lm3Y7H9fTYgrXEFc3afrzu9GVCd9ayCB4VFrYMUqLj6ZDB8n+kM5pBZNqin4GCDe37P9JgrNm+ljNwgr2iaRrDLXkWV4kp7sq2l3vzuJ4OAABbwdMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKAc8HQCgHPB0AIBywNMBAMoBTwcAKIfrevr/AYeTqlInqJNyAAAAAElFTkSuQmCC
但是数据读取不出来
外部数据库的表和视图都可以看见了,链接应该没问题

Anglee 发表于 2015-1-22 14:15:41

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />图在这里

通达耿雪霞 发表于 2015-1-22 15:04:04

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />您好,您的 数据源是MySql , SqlServer ,还是Oracle?

Anglee 发表于 2015-1-22 15:05:06

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />您好,您的 数据源是MySql , SqlServer ,还是Oracle?
sqlserver

通达耿雪霞 发表于 2015-1-22 16:55:33

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />您好,您设置成构造下拉菜单呢,信息可以出来吗?

Anglee 发表于 2015-1-22 17:04:19

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />您好,您设置成构造下拉菜单呢,信息可以出来吗?
刚才试了下,也不行。不知道是操作问题还是系统问题

Anglee 发表于 2015-1-23 14:51:58

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />有人说下吗

yuanyi_5 发表于 2015-1-26 09:41:01

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />你的数据源中能找到外部的数据库吗??还有你数据源配置类型是否选择错误,如果是sql server的就应该选择 sql server 的类型

Anglee 发表于 2015-1-26 10:00:56

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />你的数据源中能找到外部的数据库吗??还有你数据源配置类型是否选择错误,如果是sql server的就应该选择 s ...
外部数据库的表和视图都能读出来了,算是找到了吧?
配置也检查过了

通达林河水 发表于 2015-1-26 10:47:02

本帖最后由 通达林河水 于 2016-7-30 15:47 编辑 <br /><br />加Q2784001288,远程看看。
页: [1] 2
查看完整版本: 报表系统提取外部数据