如何使用带有单个参数的两个表创建水晶报告 [英] How to create crystal report using two tables with single parameter
问题描述
我知道如何使用parameter创建水晶报告。但我不知道将两个参数字段链接到一个id。
i know how to create a crystal report using parameter.but i dont no idea to link two parameters field to one id.
table 1 table 2
acno acno
name repayment amount
date repayment date
loan amount bal
loan int
我尝试了什么:
请给我一个想法的朋友.... .................................................. .................................................. ...........................................
What I have tried:
please give me a idea friends...................................................................................................................................................
推荐答案
尝试:
Try:
SELECT * FROM Table1 t1
JOIN Table2 t2 ON t1.acno = t2.acno
除了th在,我们不知道你想要实现什么,所以你需要查找 SQL联接 [< a href =https://www.w3schools.com/sql/sql_join.asptarget =_ blanktitle =New Window> ^ ]并自行修改查询。
Other than that, we have no idea what you are trying to achieve, so you will need to look up SQL Joins[^] and modify the query yourself.
这篇关于如何使用带有单个参数的两个表创建水晶报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!