Preactor International - Knowledge Base

Welcome Guest ( Login )

Reports Do Not Display Data

Expand / Collapse
 

Reports Do Not Display Data


Symptom

No data is displayed when viewing a report (though the report appears to render correctly).


Cause

SQL Server based versions of Preactor (prior to Preactor 11.0.1) do not automatically refresh the view of the Orders table and associated data.


Solution

Exit the configuration and open SQL Server Management Studio.

In Management Studio there are 2 options. Either:

  1. Click the relevant database in the list of available databases;
  2. Press the New Query button from the tool bar;
  3. Paste EXEC sp_refreshview 'dbo.OrdersView' into the query window;
  4. Press the Execute button from the tool bar.

or

  1. Expand the relevant database in the Object Explorer;
  2. Expand the Views folder;
  3. Find the dbo.OrdersView item, right-click and choose Edit;
  4. Press the Execute button from the tool bar.

After the Execute button is pressed, 'Command(s) completed successfully.' should appear in the Messages window.

Management Studio can now be exited. Preactor should be able to render the reports including data.



Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
 

Details
Last Modified:5th August 2010
Last Modified By: Jon Cooney
Type: FIX
Level: Intermediate
Article not rated yet.
Article has been viewed 377 times.
Options