Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Dynamic Fields in Crystal Report
 

Dynamic Fields in Crystal Report

Hi,


I have a report in VB.NET 2005 in which I want to display data dynamically, that on selection of field in the form, the report should display only those selected fields in report

Here is the Scenario,

I have one table called tblClients which has following Fields:
ID
Name
Address

Employed (checkbox)



For that I need to be able to select the client and get the information displayed on the report. Employed field is a checkbox(yes/no) type.

I appreciate if someone could direct me to the right start.

Thanks,

Mel

Mel V  Friday, January 12, 2007 12:08 AM

You'll need to create a parameter in your report and then restrict the records shown based on the value of the parameter. Then when you want to display that report, you'll have to pass the parameter value to it from your form.

Tony

tkerns  Friday, January 12, 2007 4:12 AM

You'll need to create a parameter in your report and then restrict the records shown based on the value of the parameter. Then when you want to display that report, you'll have to pass the parameter value to it from your form.

Tony

tkerns  Friday, January 12, 2007 4:12 AM

You can use google to search for other answers

Custom Search

More Threads

• DataView sorting and rebinding
• Problems with Enterprise Library in a User Control or Class
• Problems using Dataset TableAdapter to insert new row into db
• To calculate a person's age by date, month and year in VB 2008
• Create Call out Box for Help Resources
• Performance issues when iterating throug DataGridView.SelectedCells
• events keep on occuring
• ComboBox DataBinding Workaround Requestet
• IndexOutOfBoundsException when data is updated
• Adding Record to Details Table