Archive

Archive for July, 2009

Limiting the number of records to be displayed in Crystal Report

July 31, 2009 11 comments

You might be working with crystal reports, and so must have a noticed that number of records displayed in crystal report are variable, sometimes, it displays 8, sometimes 10.. and so on according to the data, it sets it accordingly.

But we can handle this scenario i.e we can specify how many records we want the crystal report to display. For this you need to follow the below instructions:

To make it show 10 records per page do the following

1. Open the report in Design View

2. Right click on the Details section and select Section Expert

3. Make sure the Details section is selected in the Section Expert dialog box. Check the box that says “New Page After”

4. Click the formula editor button to the right of the checkbox.

5. Enter the following formula

if Remainder (RecordNumber, 10) = 0 then true else false

6. Click Save and Close and then click OK.

If you run the report it should break after each 10 rows.

Advertisements

Silverlight: Live Silverlight Toolkit Samples With their Documentation

Are you Learning Silverlight, then you must get started with silverlight controls.

And for this microsoft provides you with live silverlight toolkit samples.
You can interact with them and learn each and every control at your lease.Along with sample controls, it also has documentation explained for each control.

Below are the live links for Silverlight Toolkit:

http://silverlight.net/samples/sl3/toolkitcontrolsamples/run/default.html

http://samples.msdn.microsoft.com/Silverlight/SampleBrowser/index.htm

Documentation Link:


http://msdn.microsoft.com/hi-in/library/cc838158(en-us,VS.95).aspx