What version of DPA are you using ? On the Fields tab of the datasource, you can double-click on the "Label" of the field and alter the fieldname there.
Also, there is a "Null Value" property of the field where you can set/initialise the field with a value in the event the field contains a Null value.
An update on this; I worked around this by adding an Add Field (Status set to dummy value x) prior to the merge, it seems the behaviour for an identically named field in a merge is to keep the entry from the left data source; after this I rename any Status entries equal to "x"
I have just copied my data into a blank report and if I set the report to replace the null value in the Fields tab it is successful. I also replaced several steps to rename the field using the Label option there and that also worked successfully.
ElvinKan
59 Posts
0
January 19th, 2011 07:00
What version of DPA are you using ? On the Fields tab of the datasource, you can double-click on the "Label" of the field and alter the fieldname there.
Also, there is a "Null Value" property of the field where you can set/initialise the field with a value in the event the field contains a Null value.
1 Attachment
source_property_fields.JPG
David_Hampson_90e289
2 Intern
•
243 Posts
0
January 18th, 2011 04:00
An update on this; I worked around this by adding an Add Field (Status set to dummy value x) prior to the merge, it seems the behaviour for an identically named field in a merge is to keep the entry from the left data source; after this I rename any Status entries equal to "x"
David_Hampson_90e289
2 Intern
•
243 Posts
0
January 19th, 2011 07:00
Hi Elvin
We are using 5.5.1
I have just copied my data into a blank report and if I set the report to replace the null value in the Fields tab it is successful. I also replaced several steps to rename the field using the Label option there and that also worked successfully.
Thanks for your help again!
David
David_Hampson_90e289
2 Intern
•
243 Posts
0
January 19th, 2011 07:00
Of course you did not explain why the Rename Field operator did not work! Perhaps it does not deal with null values very effectively?