cancel
Showing results for 
Search instead for 
Did you mean: 

i have a question

Former Member
0 Kudos

i am new in crystal.i use vs2008.

i have to add some reportObject to a section dynamicly(for example,a line object).

how can i do that?can anyone give some codes to me?

thanks very much!!

Edited by: kamikai kin on Aug 11, 2008 1:52 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

CR Basic that is included with .NET 2008 does not support report creation. You will need to upgrade to a full version of CR and then use RAS.

Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

Former Member
0 Kudos

Hi kamikai,

You can add objects dynamically by using OLE objects.For that you need to click on insert|OLE object.If you have any existent object click on "Create from file" option in the insert object dialog box and then click on "Browse" button otherwise you need to select "Create New" option.Click on OK.Place the OLE object in the report section

Please revert if you have any further queries.

Regards,

Asha Lund

Edited by: Asha Lund on Aug 11, 2008 2:39 PM

Former Member
0 Kudos

hi,thank you for you answer!

but i am still confused. in fact, what i want is to add crystal object(include Fomura field,Parameter field,TextObject,LineObject etc..) to my crystal report by using source codes without dragging them on the field explorer. in my current project,i have lots of reports like this:the coloum of data is changing,the maxium columns could't be confirmed.so i need do a lot of things dynamically by proccess codes.i have to new caystal objects and add them to a section. maybe i'll have to new a section and add it to my report too.How can i do that???

i found some code like this " xxsection.AddLineObject()".it seems what i want but it's an old version used with VB. my crystal is combined with vs2008.Can it fulfill what i want? or i have to buy some additional components?

i really need some detail info and maybe you can provide me some source code(or soem link to source code) .thanks very much!waiting for your answer online!

Former Member
0 Kudos

Hi Kamikai

If you require information on How to create report using VB, you can search for the same on the following link. You may get articles, notes useful for your requirements.

https://websmp206.sap-ag.de/support

Hope it helps.

Regards

Sourashree