1. Launch SQL Server Management Studio.
2. Connect to the SQL Server that is hosting the MessageStats Database (for example, Server Type = Database Engine, Server Name = SQL Server Name and Authentication = either Windows Authentication or SQL Server Authentication.
3. Expand SQL Server Name.
4. Expand Databases.
5. Right click the MessageStats Database and select New Query.
Paste the following query into the empty query windoow
Â
Use Messagestats
/****** Object: Table [dbo].[T_ParameterQuery] Script Date: 12/2/2002 10:10:18 AM ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[T_ParameterQuery]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[T_ParameterQuery]
GO
CREATE TABLE [dbo].[T_ParameterQuery] (
[FieldID] [int] NOT NULL ,
[DataSources] [nvarchar] (512) NULL ,
[Name] [nvarchar] (50) NULL ,
[Title] [nvarchar] (255) NULL ,
[Description] [ntext] NULL ,
[Type] [int] NULL ,
[Source] [nvarchar] (50) NULL ,
[ValueQuery] [nvarchar] (512) NULL ,
[FormatString] [nvarchar] (512) NULL ,
[Parameter] [nvarchar] (50) NULL ,
[AllowBrowse] [int] NULL ,
[ReadyDataSources] [nvarchar] (512) NULL ,
[DefaultFilterSettingName] [nvarchar] (50) NULL ,
[DefaultFilterSettingDescription] [nvarchar] (50) NULL ,
[DefaultFilterSettingDisplayName] [nvarchar] (50) NULL ,
[AllowedFilters] [nvarchar] (10) NULL ,
[CustomFilterDescription] [nvarchar] (512) NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[T_ParameterQuery] ADD
CONSTRAINT [PK_T_ParameterQuery] PRIMARY KEY NONCLUSTERED
(
[FieldID]
) ON [PRIMARY]
GO
Â
6. Click on Execute or press F5 to execute the query.
Â
After the query finishes please try intalling the Blackberry Report pack again.