Click here to Skip to main content
15,891,597 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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
VB
Datareport1.Sections("Section1").Controls("txtGH_strTableID").DataField = "strTableID"

VB
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.
Posted
Updated 27-Oct-12 7:39am
v3

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900