-
Thanks jtm7699 for his suggestions.
My problem is that i want to change DataReport 's DataSource to a ADO recordset,but failed.Is this the limitation of DataReport?
Any resolutions for changeable data source for report print?
My datasource is Access Database.
For any suggestions , thanks beforehand.
-
Just use a disconnected rs (ADO ) !
try something like this :
dim x as rpttextbox
dim y as rptlabel
with rpt
set .datasource = rs
set x = .sections("section1").controls("txtfirstfield")
x.datafield = "data"
set y = .sections("section1").controls("lblfieldname")
y.caption = "name of Field"
.show
end with
set x =nothing
set y =nothing
repeat x,y for all txtboxes/labels
x.datafield is the column name of the rs.
goodluck
-
edition 8
Thank u very much.
My report edition is 8,i'm not familiar with it.
I can't find the label in it.
And i can't find the add-in of crystal report in VB IDE after installed the report software.