Dear All,
I am doing a dynamic report which will show the columns based on a selection done. So for the columns name I am using the parameter fields of crystal report. So those column which are empty I do the settings as below and those columns will not appear. So this I can control dynamically. The problem is that between this parameter fields I have a line object which I cant control dynamically. Is there any way I can control it too? Thank you.
paramField = new ParameterField();
paramField.Name = "ot" + i;
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = "";
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);
I am doing a dynamic report which will show the columns based on a selection done. So for the columns name I am using the parameter fields of crystal report. So those column which are empty I do the settings as below and those columns will not appear. So this I can control dynamically. The problem is that between this parameter fields I have a line object which I cant control dynamically. Is there any way I can control it too? Thank you.
paramField = new ParameterField();
paramField.Name = "ot" + i;
paramDiscreteValue = new ParameterDiscreteValue();
paramDiscreteValue.Value = "";
paramField.CurrentValues.Add(paramDiscreteValue);
//Add the paramField to paramFields
paramFields.Add(paramField);