Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAX number of tables in a database/datasource for Crystal Reports?

Status
Not open for further replies.

HCVerke

Technical User
Aug 20, 2002
6
US
I have a database (data source) containing 2544 tables. When selecting tables from the data source in a Crystal Reports - Database Expert - Data Tab, only the first 560 tables appear in the Available Data sources window from which to choose for the Selected Tables window. Is this a limitation of Cystal Reports:
Thank You.
 
You haven't mentioned what version of Crystal that you are using. This item has been submitted as an FAQ, hopefully to be published soon.

The number of objects (tables, views, sprocs, etc...)is determined by an entry in the Registry. (Of course, you must have the proper access to all of the tables in your database.) Here is some information, from the Business Objects Knowledgebase:
_________________________________________________________
KBase Article ID:c2013280

Cause:
The number of database objects returned to CR is determined by the setting in the Windows Registry. The default value for this registry setting is 8,000. You can change this default value by editing the Windows registry setting, NTablesMax.
NTablesMax - specifies the number of database objects to get a listing of from the database. Once this number is reached the listing of objects in Crystal Reports is stopped. Objects can include tables, views, synonyms and stored procedures.

Solution:
To access the NTablesMax item in the registry:
1. On the Start menu, click Run.
2. Type "Regedit", then click OK. The Registry Editor will appear.
3. Browse to the following folder:

CR XI Release 2
HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\FetchOptions

CR XI (Release 1)
HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\FetchOptions

CR 10
HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\FetchOptions

CR 9
HKEY_CURRENT_USER\Software\Crystal Decisions\9.0\Crystal Reports\FetchOptions

CR 8.5
HKEY_CURRENT_USER\Software\Seagate Software\Crystal Reports\FetchOptions

4. In the right-hand window of the Registry Editor, double-click NTablesMax. The 'Edit DWORD Value' dialog box appears.
5. Select Decimal.
6. In the Value Data text box type "10,000". Click OK.
7. Close the Registry Editor and then restart your computer.

The next time you open Crystal Reports, you will be able to see 10,000 database objects
__________________________________________________________



Lyle
----
"For every expert, there is an equal and opposite expert." - Arthur C. Clarke.

 
I am using Crystal Reports Developer 11
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top