在Crystal Report中使用2个表的问题 [英] problem with using 2 tables in crystal report
本文介绍了在Crystal Report中使用2个表的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我的数据库中有2个表(sql 2005)
1.人类
2.工作
人桌领域:
id
名称
Jobid
....
作业表字段:
jobid
职位名称
我的选择:
从人的内部加入*中选择* Job.JobId = Human.JobId
如果我想要show(id,name)报告显示信息corect
当我想在报告中显示(id,name,jobname)时,不显示任何内容
请帮帮我.
在此先感谢.
Hi All,
I have 2 table in my db (sql 2005)
1.human
2.job
human table field:
id
name
jobid
....
job table field:
jobid
jobname
my select :
select * from Human inner join Job on job.JobId=Human.JobId
If i want show(id , name) the report show information corect
When i want show (id,name,jobname) in report nothing show
Please help me.
Thanks in Advance.
推荐答案
在这里您要走
来自多个表的C#Crystal Reports [
Here you go
C# Crystal Reports from multiple tables[^]
看一下与解决方案有相同问题的给定链接.
带有C尖锐表的水晶报表[ ^ ]
Take a look at given link having same question with solution.
Crystal report with multiple tables in C sharp[^]
在选择id,name,jobname时是否检查查询返回的结果.
Did you check the result return by query when you are selecting id,name,jobname.
这篇关于在Crystal Report中使用2个表的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文