Archive for October, 2007

JavaScript: To Print the Data of Particular Area

Monday, October 1st, 2007

function CallPrint(DivId)
{

C#.Net: Apply Selection Formula in (.Net Builtin) Crystal Report 9

Monday, October 1st, 2007

//In the given code below, CrptInTransit is the name of calling report, and crystalReportViewer1 is use to display the report.

CrptInTransit report = new CrptInTransit();

report.RecordSelectionFormula = “{tblIntransit.ScrollDate} >= #” + DateFrom.ToShortDateString() + “# and {tblIntransit.ScrollDate} <= #” + DateTo.ToShortDateString() + “#”;

crystalReportViewer1.ReportSource = report;