how was the day? I have a Problem related to Crystal Report in VS2010 where I designed my Crystal Report and connected it to Assessment.dbo in my Database and it works fine to display all Records. But I use Selection Formula to display only one Student Record by typing Student ID in Sol.text with this code:
REPORT_SHEET.CrvReport.Enabled = True
REPORT_SHEET.CrvReport.ReportSource = "C:\Users\MUSTAPHA YUSUF\documents\visual studio 2010\Projects\SMS\SMS\Student_CrystalReport.rpt"
REPORT_SHEET.CrvReport.SelectionFormula = "{Assessment.ID}=" + Sol.Text
REPORT_SHEET.CrvReport.Refresh()
REPORT_SHEET.CrvReport.RefreshReport()
REPORT_SHEET.Show()
The Problem is that, the Crystal Report only gives me first row of the Record not all the Records for the written Student ID in Sol.text. Thank you very much for your usual help!