|
-
Jul 7th, 2000, 12:06 AM
#1
Thread Starter
New Member
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.
-
Jul 7th, 2000, 06:46 AM
#2
Lively Member
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
-
Jul 7th, 2000, 09:01 PM
#3
Thread Starter
New Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|