Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Report showing the fisrt time values always

Status
Not open for further replies.

Solly

Programmer
Sep 14, 2000
3
0
0
US
I am having a list of EmpIDs. For the first time if I choose emp1,emp2 in the form they are displayed in the report. After closing the report and coming back to form and if I choose emp3 then the base recordset has the value emp3. But the report displays the first time values only.

My code is as below.
Report.Database.SetDataSource rstEmp
Report.ReadRecords
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
Screen.MousePointer = vbDefault
Set rstProjects = Nothing
I am in need for an answer. Your help will be appreciated


[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top