Designer and duplicated data columns

Stimulsoft Reports.NET discussion
Post Reply
fuhrj
Posts: 120
Joined: Wed Jun 11, 2008 12:51 pm
Location: Lancaster, Ohio

Designer and duplicated data columns

Post by fuhrj »

SQL Statement in my DataSource:

SELECT *
FROM tblCustomer AS C
LEFT JOIN tblCustomer AS C2 ON C2.custType = 1
WHERE C.custType = 0

In previous versions of the Designer, when you Retrieved Columns, it would automatically rename duplicated fields by adding a number to it. For example, phone, phone1.

I am using the March 2010 build and it no longer does that. So in the column list, you see something like this:

customer_name
phone
customer_name
phone

When you compile the report, the Designer complains that the report "already contains a definition for customer_name".

I imagine I can manually rename the columns, but that's kind of a pain when you have over 20 columns. Is there a way to get the auto-renaming feature back?

Thanks.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Designer and duplicated data columns

Post by Jan »

Hello,

Problem solved. Patch will be available in next prerelease build.

Thank you.
gigipd
Posts: 1
Joined: Fri Mar 04, 2011 7:20 am

Designer and duplicated data columns

Post by gigipd »

fuhrj wrote:SQL Statement in my DataSource:

SELECT *
FROM tblCustomer AS C
LEFT JOIN tblCustomer AS C2 ON C2.custType = 1
WHERE C.custType = 0

In previous versions of the Designer, when you Retrieved Columns, it would automatically rename duplicated fields by adding a number to it. For example, phone, phone1.

I am using the March 2010 build and it no longer does that. So in the column list, you see something like this:

customer_name
phone
customer_name
phone

When you compile the report, the Designer complains that the report "already contains a definition for customer_name".

I imagine I can manually rename the columns, but that's kind of a pain when you have over 20 columns. Is there a way to get the auto-renaming feature back?

Thanks.
I'm experiencing the same exact problem with the latest version just downloaded. I'm using version build 03/03/2011.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Designer and duplicated data columns

Post by Alex K. »

Hello,

We couldn't reproduce this bug. Could you explain your issue in more details and, if possible, send us a step-by-step guide how to reproduce the issue?

Thank you.
Post Reply