Hi,
you need to add datamethod for these controls saying what this control need
to display.
I put it on other way, try adding a new control on report and save it and
look at the control in AOT it will be appeared as red color instead of green
which in-turn will throw error.This error is same as what you have sent.If you
add the datasource, data field or data method then this control will appear
green.
Good luck!
Regards,
kris
staffuwa <[EMAIL PROTECTED]> wrote:
Hi Guys,
why the system returns this error when I try to add a string field
on a programmable section inside a report?
I tried to insert the new field in this way:
----------------------------------
public void executeSection()
{
str nome;
super();
nome = int2str(progrSezione);
programmablesection.addStringDisplayControl(this.showQty()).name(nome);
element.execute(1);
// the first time the execution section is called, the name of the
control is "1", then it will be incremented
progrSezione+=1;
}
----------------------------------------------------------
Thank you in advance.
Daniele
---------------------------------
Once upon a time there was 1 GB storage on Yahoo! Mail. Click here for happy
ending!
[Non-text portions of this message have been removed]