im using crystal report in vb 2005.
please help me on the code.
how to import the data from the textbox or label on the form
to the text on crystal report using a button.

please badly needed..

Hi,

You can find a good tutorial, how to create a Chrystal report with VB 2005, look here.

please ... if u could only show me how to code in
passing the value in textbox to crystal report textobject.

i've used this code but it wont work.

Dim T As CrystalDecisions.CrystalReports.Engine.TextObject
T = Me.CRPayslip1.Section3.ReportObjects("txtcrtname2")
        T.Text = Me.cmbfnameEarnings.Text
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.