Special Fields in Crystal Report prints in different language

By | December 30, 2021

In the Sage X3, you have various standard reports for almost every screen which are developed in Crystal Report. Also you can develop your own crystal report as per client need. After printing report, the content in the report gets printed depending on the language setup done in the Sage X3 for the login user. But you might have notice that irrespective of the language setup done in Sage X3 application, there are Crystal ‘Special fields‘ which behaves differently.

In simple words, Crystal Report prints all the formulas and database fields as per the language setting done in Sage X3 folder for logged in user but Crystal reports “Special fields“ like ‘Page Number‘, ‘Print date‘ etc. Prints as per the Windows server region setup/language setup done on the server.

Recently we came across a situation where we wanted to develop Crystal report for one of the client which is based in India and server is hosted in Spain . So the Sage X3 language setup done in English language for India Users but windows application server is login with Spanish Language. In Crystal report, we want to use Special field “Page N of M” so that it will print page number at the page footer section. But whenever we prints the report, reports gets print in English language except for that special field ‘Page N of M‘ which gets print in Spanish as “Página 1 de 1” instead of “Page 1 of 1” in the English.

New Stuff: Enable Comment section for specific transaction type in sales invoice screen

“Page N of M” in the Spanish language

So we search on various forums and found that SAP Crystal standard dll behaves in that fassion only and we do not have control over it. So to overcome that situation, we build the formula that will print page number in English language.

Please see the below steps:

Step 1: Create a formula in the crystal report as “page_no”

Formula name
Formula name

Step 2: After creating formula add below lines of code in that formula.


Step 3: After creating the formula, place the formula in footer section of the report.

Step 4: Save the report and then print .

Please refer below screen shot.

“Page N of the M” in the English language

You have noticed the report gets printed in English language even if the windows server setup is done in Spanish language as it takes the Sage X3 language setup done on that folder for the India User.

In this way, you can display “Page N of M” in the English or any other required language irrespective of the client’s server regional language.

About Us

Greytrix – a globally recognized and one of the oldest Sage Development Partner is a one-stop solution provider for Sage ERP and Sage CRM organizational needs. Being acknowledged and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third-party add-on development and implementation competence. 

Greytrix caters to a wide range of Sage X3, a Sage Business Cloud Solution, offerings. Our unique GUMU™ integrations include Sage X3 for Sage CRMSalesforce.com, Dynamics 365 CRM and Magento eCommerce along with Implementation and Technical Support worldwide for Sage X3. Currently we are Sage X3 Implementation Partner in East Africa, Middle East, Australia, Asia, US, UK. We also offer best-in-class Sage X3 customization and development services, integrated applications such as POS | WMS | Payment Gateway | Shipping System | Business Intelligence | eCommerce and have developed add-ons such as Catch – Weight  and Letter of Credit and India Legislation for Sage X3 to Sage business partners, end users and Sage PSG worldwide. Greytrix Sales Commission App for Sage X3 simplifies commission calculations and postings on sales transactions.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

Greytrix is a recognized Sage champion ISV Partner for GUMU™ Sage X3 – Sage CRM integration also listed on Sage Marketplace; GUMU™ integration for Sage X3 – Salesforce is a 5-star rated app listed on Salesforce AppExchange and GUMU™ integration for Dynamics 365 CRM – Sage ERP listed on Microsoft AppSource.

For more information on Sage X3 Integration and Services, please contact us at x3@greytrix.com, We would like to hear from you.