Skip to content

Guide · Sage 300 CRE (Timberline)

Timberline Crystal report won't run on a new computer or after an upgrade

A custom Crystal report that ran for years stops on a new PC, a new server, or after a Sage 300 CRE upgrade. The report is usually fine. What changed is the Timberline data source it reads through, the rights of the person running it, or, from version 26.1, the move to 64-bit.

Updated

The short version.

Three things have to line up. The machine needs a Timberline Data Source that points at your data folder and uses the same naming option the report was built with. The user's role needs ODBC Read Access in Security Administration. And from version 26.1 the data source is 64-bit, so a report built on the 32-bit one has to be converted.

Read the message

What the error is telling you.

"Failed to retrieve data from the database"

The data source on this machine doesn't match the report. Reconfigure it as described below, then run Database > Set Datasource Location and Database > Verify Database in Crystal.

A table "could not be found", or "Report operation failed"

The user's role doesn't have ODBC Read Access. Grant it in Security Administration, then close and reopen Sage 300 CRE.

Verify Database offers to remove a table

When Crystal says a table cannot be found and asks whether to remove it from the report, answer No. Then point each table at the data source again.

A login box

When security is on, Crystal asks for your Sage 300 CRE user ID and password as it connects. That's expected. Use your Sage login.

"Could not invoke TSSimba proxy" on a large report

A problem in version 26.1 that Sage fixed in 26.2.

Set it up

Set up the Timberline Data Source.

Sage 300 CRE creates a data source named Timberline Data Source the first time it's opened on a machine. It still has to point at the right folder, with the right options.

  1. Open the right ODBC administrator

    On version 25.2 and earlier, open ODBC Data Sources (32-bit) and look on the User DSN tab. On 26.1 and later, open ODBC Data Sources (64-bit) and look on the System DSN tab.

  2. Point it at your data folder

    Select Timberline Data Source and click Configure, or click Add and choose the Timberline Data driver. Set Database Type to Accounting Data Folder, click Select Folder, and choose your data folder. Each data folder needs its own data source.

  3. Match the naming option

    Under Options, Table and Field Naming has three choices: Standard descriptions, Custom descriptions, and Dictionary names. Sage recommends Standard descriptions, and its own reports use it. A report built with one choice won't find its fields under another.

  4. Check the two check boxes

    "Use maximum table segment size" keeps wide tables whole. Without it, a table with more than 255 columns is split into pieces, such as JCM_Master_Job_1 and JCM_Master_Job_2. "Shorten field and table names" should be cleared; it's there for old reports only.

  5. Give the role ODBC rights

    In Security Administration, open Role Setup, go to Tasks, and under ODBC check Read Access. File security also limits what a user can read through ODBC.

  6. Repoint and verify the report

    Open the report in the Crystal Reports designer, choose Database > Set Datasource Location and update each table, then choose Database > Verify Database.

Version 26.1

The move to 64-bit.

What changed

The original driver, Timberline Data, is 32-bit. Sage added a 64-bit driver, Timberline Data 64, and from version 26.1 the data source is a 64-bit System DSN and the Crystal runtime is 64-bit.

What it means for custom reports

Sage's release notes say that after upgrading to 26.1, custom reports that use a 32-bit data source must be converted to 64-bit. A 32-bit Timberline Data Source can't be linked in Crystal Reports 2020.

Which Crystal designer

Each Sage 300 CRE version names its own Crystal designer; the Crystal Reports versions guide linked below has the table.

Excel and Access

Tools other than Crystal, such as Microsoft Office, still need a 32-bit data source, so a machine may need both.

The data

What the Timberline driver reads, and what it doesn't.

Table names

Tables are named for the application and the record they hold, such as APM_MASTER__VENDOR for Accounts Payable vendors. Job Cost, General Ledger, and Accounts Receivable follow the same pattern for jobs, commitments, change orders, accounts, customers, and transactions.

Finding a field

In Report Designer, Tools > Available Fields lists every field. Check "Include information for ODBC reporting?" and the list shows the names Crystal will see.

Purchasing, Inventory, and Service Management

The Timberline driver doesn't read these. They use Pervasive ODBC drivers instead, and from 26.1 Service Management reports that used Native Btrieve have to move to ODBC.

SQL Replicator

Sage SQL Replicator copies your data to Microsoft SQL Server for faster reporting. Crystal reports on the menu can be switched to it with "Use SQL", and users need Read Access under SQL Data Access.

Reports still won't run?

Tell me the Sage 300 CRE version you're on, the version you came from, and the message you see. I've worked in Sage 300 CRE since 2005, back when it was Timberline. You get a fixed price once I've seen the report, before any work starts.

Tell Me What You're Seeing

Questions

Timberline ODBC questions.

Why does the report work on the old computer and not the new one?
Usually the Timberline Data Source. On the new machine it may point at the wrong data folder, use a different naming option than the report was built with, or be missing a check box the old one had. The other common cause is a user whose role doesn't have ODBC Read Access.
Do our custom Crystal reports have to be rebuilt for Sage 300 CRE 26.1?
Not rebuilt, but converted. Reports that use the 32-bit data source have to be moved to the 64-bit one and then checked. The designs themselves carry over.
Which Crystal Reports version goes with our Sage 300 CRE version?
The one Sage's guide names for your version, from Crystal Reports 2013 for versions 23 and 24 to Crystal Reports 2020 for version 26. The Crystal Reports versions guide has the full table.
How does a Crystal report get onto a Sage 300 CRE menu?
Through Report Manager, which adds Crystal report designs to the Reports menu.
Is the driver still called Timberline?
Yes. The product has been Sage 300 Construction and Real Estate for years, but the ODBC drivers are still named Timberline Data and Timberline Data 64.

Contact

Tell me what you need.

Tell me about your project or the problem you need solved.

Email me at andy@codingandy.com, text or leave a voicemail at 612-249-6882, or use the form.

Add project details (optional)Company, phone, Sage product, and type of request2 added

Sage product

Optional. Skip it if your request isn't about Sage.

What do you need?

No retainer, no obligation. You'll get a scope and price before any work starts, and I never contact your current Sage partner without your permission.