在VB6.0中的datareport中显示多个记录 [英] display multiple records in datareport in VB6.0

查看:182
本文介绍了在VB6.0中的datareport中显示多个记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual Basic 6.0中的数据报告"中显示多个记录.我的代码在所有字段中都显示相同的记录.后端使用的是MSAccess.

设置Datareport1.DataSource = rstRpt

I want to display multiple records in Data Report in visual basic 6.0 . My code shows me same record in all the field.Back end use is MSAccess.

Set Datareport1.DataSource = rstRpt

Datareport1.Sections("Section1").Controls("txtGH_strTableID").DataField = "strTableID"


Datareport1.Refresh
    Datareport1.Show



我使用上面的代码打印记录,但它在所有行和所有页面中也显示相同的记录
您能否给我任何建议或提供代码来解决此问题.



I used above code to print record but its shows same record in all rows and in all pages too
Can you please give me any suggestion or provide me code to solve this problem.

推荐答案

您好,

在这里看看:
http://www.bigresource.com/VB- display-multiple-records-in-columns-using-data-report-3MqKC90SJe.html [
Hi,

Have a look here:
http://www.bigresource.com/VB-display-multiple-records-in-columns-using-data-report-3MqKC90SJe.html[^]


这篇关于在VB6.0中的datareport中显示多个记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆