Hi all!
I need your help to resolve my problem:
I use VB6 and Crystal reports 9, with CRAXDDRT component.
I made a report with a text field called Text1 on report header, and its content is "LIST OF PRODUCTS".
Now I should change that text: it should become "LIST OF PRODUCTS FROM "
{@StartDate} TO
{@EndDate}, where StartDate and EndDate are parameters o functions, or database fields (parameters in this case).
No problem, obviously, using crystal reports software, but I should make this changing using VB6 and CRAXDDRT..
I tried in this way:
CrxSection.AddTextObject("LIST OF PRODUCTS FROM " + CrxReport.ParameterFields.Item(1). Name + " TO " + CrxReport.ParameterFields.Item(2). Name
..But while I expected something like "LIST OF PRODUCTS FROM 1/1/2009 TO 1/31/2009", the result is: "LIST OF PRODUCTS FROM "
{@StartDate} TO
{@EndDate}

How can I do to embed the parameter in that text field?
I think that for formulas and db field I should use the same method..
Thanks for your help.
Luca (Italy)