24.01.2013 Views

USER'S GUIDE - ShipWeight

USER'S GUIDE - ShipWeight

USER'S GUIDE - ShipWeight

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8.3 Upgrading existing reports to include ProjectID<br />

From <strong>ShipWeight</strong> version 7.5 and onwards, any number of projects can be<br />

stored on the same project database. To identify which project the data<br />

belongs to, every table in the project databases now have a ProjectID-field.<br />

Crystal Reports created for <strong>ShipWeight</strong> versions prior to version 7.5 does not<br />

take the ProjectID into account. Therefore data from all projects on the same<br />

project database are reported.<br />

To correct this, the data listed in the report must be filtered to include data<br />

from the current project only. In order to accomplish this for an existing report,<br />

there are three steps to follow:<br />

Refreshing the Datasource<br />

Creating a Record Selection formula<br />

Change Subreport links<br />

8.3.1 Replace Datasource<br />

When you open an existing pre-<strong>ShipWeight</strong> 7.5 report in the Crystal Report<br />

designer and expand the Database Fields in the Field Explorer, you will notice<br />

that the ProjectID field is missing. To be able to create a Record Selection<br />

formula based on project ID, the ProjectID-field must be present in the<br />

Database Fields list.<br />

To achieve this, the Datasource must be replaced with an updated database.<br />

On the database menu, select ‘Set Datasource Location’.<br />

8-26<br />

<strong>ShipWeight</strong> – User’s Guide, version 10.0, April 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!