(Crystal Reports)I want to change FieldObject DataSource In Runtime

alim

Well-known member
Joined
Dec 12, 2005
Messages
89
Location
bangladesh
Programming Experience
3-5
Hey is there any way to change datasource of a reports dynamically.. please help me ... i m in a great problem
 
i have solve this problem ...

1st i have created a virtual database in dataset . not connected with any datatable

then design report with that table after that ...

before printing...

i fill the datatable fields name as my new virtual datatable fields name....


such as in virtual dtable:
Field is
1.ClientsName
2.MonthPayment
3.MonthDue


and in main database table has
1.client_name
2.Januarypayment
3.Februarypayment
4.JanuaryDue
5.FebruaryDue
.. etc field...

i want to create one report and show every month information in it..

so by desinging table with virtual datatable from dataset now i have ... this table fields on report..
now
filling time say:
JanuaryDue as [MonthDue],Januarypayment as [MonthPayment]
 
Back
Top