且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将数据库字段绑定到报表中的字段

更新时间:2021-12-28 17:56:44

首先,您将创建一个与SQL服务器连接的报告。

First you would create the report with a connection to your SQL server.

其次,您将在报告中添加所需的数据库字段。

Second you would add the database fields you want on the report.

第三,您将创建一个参数,该参数将接收您刚刚添加到数据库的客户名称。

Third you would create a Parameter that would take in the customer name that you just added to the database.

第四,你会调出记录选择公式,让它只带回你创建的客户名称=参数的记录。

Fourth you would bring up the record selection formula and have it only bring back records where the Customer Name = Parameter you created.