Retrieve Columns not working

Stimulsoft Reports.WEB discussion
Post Reply
spencer
Posts: 8
Joined: Fri Oct 24, 2008 2:29 am
Location: Turkey

Retrieve Columns not working

Post by spencer »

Hello,

I have added a new sqlconnection to my designer. And then I added a new Data Source that uses this connection. I set the connection name, alias and the query text to a simple valid sql string. After this when I click on Retrieve Columns the screen flickers for a second but no columns are retrieved. When I add a valid column by hand the report successfully displays its values.

Could you please let me know what I am missing?

best regards
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Retrieve Columns not working

Post by Edward »

Hello.

A question about that SQL query. Is there a stored procedure in your query? Does it use temporary tables/variable number of columns?

Thank you.
spencer
Posts: 8
Joined: Fri Oct 24, 2008 2:29 am
Location: Turkey

Retrieve Columns not working

Post by spencer »

No, the query is SELECT * FROM AIRLINE where AIRLINE is a table with 8 simple columns.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Retrieve Columns not working

Post by Edward »

Hello.

Please let us know the type of the Connection in Web Designer and name of the server you connected to.

Thank you.
spencer
Posts: 8
Joined: Fri Oct 24, 2008 2:29 am
Location: Turkey

Retrieve Columns not working

Post by spencer »

The type of connection is SQL Connection and the name of the server is the IP address of our internal SQL 2005 Server.

I can see that it tries to retrieve the columns because a progress bar comes up and then no error comes up and no columns are retrieved in the end.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Retrieve Columns not working

Post by Edward »

Hello Spencer.

Could you please send the script for creating of that table to support[at]stimulsoft.com. We checked 'Retrieving Columns' button and all worked as expected...

Thank you.
spencer
Posts: 8
Joined: Fri Oct 24, 2008 2:29 am
Location: Turkey

Retrieve Columns not working

Post by spencer »

Hello the script for the table is this:

CREATE TABLE [dbo].[AIRLINE](
[AIRLINE_ID] [char](3) COLLATE Turkish_CI_AS NOT NULL,
[NAME] [varchar](50) COLLATE Turkish_CI_AS NOT NULL,

Code: Select all

 [char](3) COLLATE Turkish_CI_AS NOT NULL,
	[COMPANY_URL] [varchar](255) COLLATE Turkish_CI_AS NOT NULL,
	[PARSER_BASE_URL] [varchar](255) COLLATE Turkish_CI_AS NOT NULL,
	[RESULTS_URL] [varchar](255) COLLATE Turkish_CI_AS NULL,
	[TABLE_SEARCH_REGEXP] [varchar](20) COLLATE Turkish_CI_AS NULL,
	[EXTRA_TAX] [numeric](18, 2) NULL,
	[BATCH_SIZE] [int] NOT NULL,
	[PACKAGE_GUID] [varchar](50) COLLATE Turkish_CI_AS NULL,
	[IS_ACTIVE] [bit] NOT NULL CONSTRAINT [DF_AIRLINE_IS_ACTIVE]  DEFAULT ((1)),
	[DATE_FORMAT_CODE] [tinyint] NOT NULL CONSTRAINT [DF_AIRLINE_DATE_FORMAT_CODE]  DEFAULT ((112)),
 CONSTRAINT [PK_AIRLINE] PRIMARY KEY CLUSTERED 
(
	[AIRLINE_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

It is on an sql 2005 database with TURKISH_CI_AS as its collation. Would this info be sufficient?
Phoenix
Posts: 1
Joined: Thu Mar 26, 2009 5:21 am
Location: Grantham

Retrieve Columns not working

Post by Phoenix »

I'm also having the same issues with the column recieve
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Retrieve Columns not working

Post by Jan »

Hello,

This is knowing bug of 2008.2 version. Please get latest prerelease build from our website.

Thank you.
Post Reply