Guide · Sage 50
Sage 50 Crystal Reports: setup, data access, and the errors that stop them
If you've inherited a Crystal report that won't connect to Sage 50, or need a report Sage 50's own designers can't build, Sage 50 Crystal Reports still work on the US edition. Nothing about the setup is automatic anymore: Crystal isn't included, outside access is off by default, and some fields only come through Sage 50's own Crystal functions. This guide walks through each piece in the order I check it.
Updated
The short version.
On Sage 50 Accounting, U.S. Edition, Crystal reads your company data once three things are in place: outside access turned on in Maintain > Users > Set Up Security (ID Peachtree, a password of up to 8 characters), a data source made with the Pervasive ODBC Engine Interface driver in the 32-bit ODBC Administrator, and, for reports that use Sage 50's GetPeach functions, those functions loaded into Crystal and the report saved in the company folder. On the Canadian edition, Crystal hasn't been used since release 2014.3.
Read this first
Sage 50 Crystal Reports today: US vs Canada.
The answer depends on which Sage 50 you have. The two editions are different programs, and search results mix them up.
US edition: Sage still documents it
Sage stopped including Crystal with Sage 50, so you need your own Crystal license. But the 2026 US help, published in June 2026, still documents the Data Access/Crystal Reports login, the list of tables for people who design Crystal reports, and the Sage 50 functions for Crystal formulas. The connection is still there; the setup is yours.
Canadian edition: gone since 2014.3
Sage's Canadian support team announced that from release 2014.3, Crystal Reports is no longer used in Sage 50 and Crystal forms can't run in the program. Old Crystal forms were switched to the closest Sage 50 form (under Setup, Reports and Forms, in each module) and are edited in the Sage 50 Forms Designer. Some reports built in Crystal, mainly the management reports, were removed.
What still runs where
On the US edition, you design and run Crystal reports in your own copy of Crystal, which logs in to the company data from outside Sage 50. Sage 50's own reports, forms and financial statements are built in its design windows, which the Sage 50 custom reports page linked below covers.
How it connects
How Crystal reads Sage 50 data.
Sage 50 US keeps each company's data in an Actian Zen database (formerly Pervasive; release 2023.0 moved to Actian Zen v15.1). The tables are .DAT files in the company folder. Sage lists the tables you can reach from Crystal, and says that list is only what's available through crystalreports.udl, the data link Sage designed for Crystal Reports. Not everything is there: action items and company user setup (user IDs and passwords) can't be added to a Crystal report.
There are two ways in. Crystal can use that data link, or an ODBC data source you create with the Pervasive ODBC Engine Interface driver. Either way, Sage 50 has to allow access from outside the program first, and Crystal logs in with the ID Peachtree and the password set in Sage 50's user security.
Some fields can't be described in the .DAT files at all. For those, Sage provides functions you call from a Crystal formula: GetPeachCompanyNamev2 for the company name, GetPeachItemQtyOnHandv2 for quantity on hand, GetPeachPeriodStart and GetPeachPeriodEnd for period dates, the job estimate and actual functions, and others. They live in u2lpeach.dll, and Sage says reports that use them must be saved in the same folder as the company files, so they can read the company data directly.
The tables
The Sage 50 tables most reports start from.
Names and descriptions as Sage lists them. Some files also hold fields Sage 50 uses internally that mean nothing on a report, and a few files exist only in Premium or Quantum.
| File | Sage's description |
|---|---|
| CUSTOMER.DAT | Customer fields |
| VENDOR.DAT | Vendor fields |
| JRNLHDR.DAT | Journal header fields |
| JRNLROW.DAT | Journal row fields |
| LINEITEM.DAT | Inventory item fields |
| EMPLOYEE.DAT | Employee fields |
| CHART.DAT | Chart of accounts fields |
| PROJECT.DAT | Job fields |
Step by step
Set up Crystal Reports for Sage 50, in order.
Confirm the edition and the Crystal license
Check that you're on Sage 50 Accounting, U.S. Edition (Pro, Premium or Quantum, formerly Peachtree) and that you own a copy of Crystal Reports. Write down the Crystal version: it decides step 4.
Turn on outside access in Sage 50
Open the company and go to Maintain > Users > Set Up Security, then the Data Access/Crystal Reports tab. The default is None. Choose "With the following login information" and click Change to set the password. The ID is always Peachtree, and the password is limited to 8 characters and can't be blank. Sage users on the Community Hub report having to do this again for each company, for example after adding a new one.
Create the data source
Open the 32-bit ODBC Administrator, C:\Windows\SysWOW64\odbcad32.exe (Sage notes the folder can vary with how Windows was installed). Click Add, choose Pervasive ODBC Engine Interface, and click Finish. Type a Data Source Name, pick the company in Database Name, and click OK twice.
Match Crystal to the data source
A 32-bit Crystal sees the data source you just made; a 64-bit one, such as Crystal Reports 2020, doesn't (the Crystal versions guide linked below lists which is which). Sage's help only documents the 32-bit setup, and Sage users on the Community Hub report that 64-bit Crystal wouldn't connect to Sage 50 for them.
Connect from Crystal
In Crystal, make a new ODBC connection, choose the data source, and log in with Peachtree and the data access password. Add the tables you need from the list above and link them before you place any fields.
Check the Sage 50 functions are loaded
Open Field Explorer, select Formula Fields, click New, name it, and in the Formula Editor look under Functions > Additional Functions for peach (u2lpeach.dll). Sage says the functions have to be loaded on a computer that never had an earlier Sage product and Crystal, and its help describes doing that from Crystal entries on the Reports & Forms menu. If your menu has none, that route isn't there on that computer. Sage users on the Community Hub also report the Install Sage 50 Data Functions option not working on release 2022.
Save the report in the company folder
Any report that uses a GetPeach function goes in the same folder as that company's Sage 50 files. A copy on a desktop or a shared reports folder isn't where Sage says it must be.
Test it on every computer that runs it
Each workstation needs its own data source, and the functions if the report uses them. Run the report on each one before anyone relies on it at month end.
What goes wrong
Common Sage 50 Crystal Reports errors and what they mean.
Invalid User Authorization
Sage users on the Community Hub report this error, from the Pervasive ODBC Engine Interface, when outside access isn't turned on for that company. Check the Data Access/Crystal Reports tab in that company first, then the password.
"Data source name not found", or no data source in Crystal's list
The data source was made in the ODBC Administrator of the other bitness, usually 64-bit Crystal looking for a 32-bit data source. Check which Crystal you're running before recreating anything; the ODBC architecture mismatch guide has the fix.
No peach functions in the Formula Editor
If Additional Functions has no peach (u2lpeach.dll) entry, the functions were never loaded on that computer, and any formula that calls GetPeach can't work there. The same report may run fine on the computer where it was written.
Works for one company, not another
Outside access is set in each company's own user security, and reports with GetPeach functions read the company in the folder they're saved in. A report copied from one company folder to another, or a company with no data access password, behaves differently.
A function or table that only exists in one edition
The Work Ticket, Unit/Measure and assembly revision functions are Quantum only; the serial number functions are Premium only. BOMHIST.DAT is Quantum and AUDITTR.DAT is Premium or higher. A report built on Quantum and run on Pro won't find them.
Want it built instead?
Send the report you have, a sketch, or the spreadsheet you rebuild every month, with your Sage 50 edition and year and your Crystal version. I'll say plainly whether it needs Crystal or one of Sage 50's own designers, and reply in writing with a fixed price, agreed before work starts. I'm independent: no license sales, and your Sage partner stays yours.
Tell Me What You're SeeingQuestions
Sage 50 Crystal Reports questions.
- Does Crystal Reports still work with Sage 50?
- On the US edition, yes: Sage's 2026 help still documents the Crystal login, the tables, and the Sage 50 functions for Crystal formulas. On the Canadian edition, no: Sage stopped using Crystal there from release 2014.3.
- Does Sage 50 come with Crystal Reports?
- No. Sage no longer includes Crystal with Sage 50, so you need your own Crystal license. The Sage 50 side of the connection (the data access login and the functions) is still there.
- What is the Sage 50 user name and password for Crystal Reports?
- The ID is always Peachtree. The password is the one set on the Data Access/Crystal Reports tab under Maintain > Users > Set Up Security; it's limited to 8 characters and can't be blank.
- Can I use Crystal Reports 2020 with Sage 50?
- Crystal Reports 2020 is 64-bit, and Sage's help only documents a 32-bit data source, which a 64-bit program doesn't see. Sage users on the Community Hub report 64-bit Crystal failing to connect, so check this before you buy or upgrade Crystal for Sage 50 work.
- What replaced Crystal forms in Sage 50 Canada?
- From release 2014.3, Crystal forms were switched to the closest Sage 50 form, set under Setup, Reports and Forms in each module, and edited in the Sage 50 Forms Designer.
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.