Crystal Reports - MS访问MS SQL Server迁移 [英] Crystal Reports - MS Access to MS SQL Server Migration

查看:97
本文介绍了Crystal Reports - MS访问MS SQL Server迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是根据以下规格创建的:



-Windows 7(32位)。

-Visual Studio 2010.

-Windows表单VB.NET应用程序。

-Microsoft Access 2007作为后端。

-使用Crystal Reports作为报表工具(适用于Visual Studio 2010的版本)



由于数据库的存储大小限制,我将所有表格划分为五个数据库。



我的问题在于报告工具,我有多个数据库,即五个MS Access数据库。

因此我无法使用查询,因此我无法使用DataSet。



我只传递一些参数来报告,并且在很大程度上依赖于报告中的记录选择依赖于多个数据库。



现在,我想将我的应用程序的后端迁移到Microsoft SQL Server。



我很担心如果我需要再创建一堆报告在Conditio我无法使用数据集的地方。



请考虑我最简单的方法将所有我的水晶报告迁移到SQL Server数据库,考虑上述情况。



谢谢。

My Project is created on the following specifications :

-Windows 7 (32 Bit).
-Visual Studio 2010.
-Windows Form VB.NET Application.
-Microsoft Access 2007 As a Back-End.
-Using Crystal Reports As a Reporting Tool (Version for Visual Studio 2010)

Due to Storage Size Limitation of Database, I have divided All tables in Five Databases.

My problem is with Reporting tool, I am having multiple Databases i.e Five MS Access Databases.
Therefore I am not able to use queries and therefore I am not able to use DataSets.

I only pass some parameters to report and heavily dependent on those for Record Selection in the Reports relies on multiple databases.

Now, I want to migrate My application's back-end to Microsoft SQL Server.

I am worrying If I need to create a bunch of Reports Once More In the Conditions where I am not able to use Datasets.

Kindly suggest Me easiest method to Migrate all My crystal reports to SQL Server Database considering situations stated above.

Thank you.

推荐答案

如果我理解你,你有5个数据库(5个MS Access文件)这就是为什么您无法创建报告。



首先,将数据库从MS Access更改为MS SQL Server Express版。

如何去做吧?我知道的最简单的方法是使用用于访问的SQL Server迁移助手(AccessToSQL) [< a href =http://msdn.microsoft.com/en-us/library/hh313039.aspxtarget =_ blanktitle =New Window> ^ ]

更多:

安装SQL Server Migration Assistant for Access(AccessToSQL) [ ^ ]

访问SQL Server迁移:如何使用SSMA [ ^ ]

其他方式是使用: SQL Server导入和导出向导 [ ^ ]

如果您熟悉清晰的T-SQL语言,可以使用: OPENDATASOURCE(Transact-SQL) [ ^ ]或 OPENROWSET(Transact-SQL) [ ^ ]命令。



其次,但不推荐解决方案是使用简单的技巧:创建一个6.数据库并将这5个文件中的所有表链接到此文件中。现在,您可以使用查询,数据集等;)
If i understand you well, you have 5 databases (5 MS Access files) that's why you have a trouble to create reports.

First of all, change your database from MS Access to MS SQL Server Express edition.
How to do it? The simplest way whoch i know is to use SQL Server Migration Assistant for Access(AccessToSQL)[^]
More:
Installing SQL Server Migration Assistant for Access(AccessToSQL)[^]
Access to SQL Server Migration: How to Use SSMA[^]
Other way is to use: SQL Server Import and Export Wizard[^]
If you're well familiarized with clear T-SQL language, you can use: OPENDATASOURCE (Transact-SQL)[^] or OPENROWSET (Transact-SQL)[^] commands.

Second, but not recommended solution is to use simple trick: create a 6. database and link all tables from those 5 files into this file. Now, you can use queries, datasets, etc. ;)


这篇关于Crystal Reports - MS访问MS SQL Server迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆