Skip to Content
author's profile photo Former Member
Former Member

Hashing in Crystal reports

Hi All

I have two database fields( account_nr and amount ) from PostgreSQL that needs to be hashed using a Crystal Formula, this will be a report that will be extracted to txt to use in an 3rd-party application.

Is there perhaps a standard formula I can use to hash these two database fields together?

This is my spec received:

Must contain an accumulation of destination

account numbers and amounts in cents. Then the

least 12 significant digits counting from the right,

must be stored in this field. Must be right justified

and zero filled from the left.

I did not start writing any formula's in crystal yet as I have no idea how the idea of hashing works or how to code this in Crystal.

Using a template and doing an edit on it,will be the best way to start off.

Thank you in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 29, 2016 at 08:21 AM

    Hi Charl,

    Do you have an example of values from the database fields and the expected output?


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.