Data Env. and Data Report in vb 6
How can I change the Label Caption on the unbound labels in my Data Report in runtime?
I have:
DataReport1.Sections(Item_Gouping_Header).Controls.Item("Label1").Caption = ?
I have: - deEnv, cnnCompl(conections to MS Access database) and command1(control group by Item)
Re: Data Env. and Data Report in vb 6
I have just created a Datareport with an unbound label in page heading like this and it works:
DataReport1.Sections("section2").Controls.Item("label1").Caption = "hello,world"
Dim rs as new ADODB.Recordset
rs.Fields.Append "nonE", adBigInt
rs.Open
rs.AddNew "none", 1
set DataReport1.DataSource = rs
DataReport1.Show
what's your error message or problem?