function printpr()
{
if (navigator.appVersion.indexOf("IE 5.0")>=0 || navigator.appVersion.indexOf("IE 6.0")>=0)
{
var OLECMDID = 7;
/* OLECMDID values:
• 6 – print
• 7 – print preview
• 1 – open window
• 4 – Save As
*/
var PROMPT = 1; //note PROMPT = 2 -DO NOT PROMPT USER
var WebBrowser = ‘’;
document.body.insertAdjacentHTML(‘beforeEnd’, WebBrowser);
WebBrowser1.ExecWB(OLECMDID, PROMPT);
WebBrowser1.outerHTML = “”;
}
else
{
self.print();
}
}
Search This Blog
Friday, December 4, 2009
Tuesday, December 1, 2009
How to display one group per page in a Crystal Report
If your crystal report is grouped by a field and you want to display one group per page of your crystal report then go to section expert of group header( to which you want to display per page), check to New Page Before and write condition as:-
GroupNumber <> PageNumber
After doing above, save the changes. Now it is ready to fulfill your requirement.
GroupNumber <> PageNumber
After doing above, save the changes. Now it is ready to fulfill your requirement.
Subscribe to:
Posts (Atom)