i want to use crystal report in vb6 to building a complex report by geting data from access database plez someone hellp me
thanks

Hi try this:^_^

With CrystalReport1
.ReportFileName = App.Path & "\Your report filename.rpt"
.SelectionFormula = "{asses.StudId}='" & txtStudNo.Text & " '"
.DiscardSavedData = True
.Destination = crptToWindow
.WindowControlBox = True
.WindowState = crptMaximized
.WindowTitle = "title of your report"
.Action = 1
End With
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.