Pull 0 from front string Cristal Reports

Asked

Viewed 59 times

0

We are creating a barcode with the command:

Code128c{(Command.numero)}

But he adds one 0 that does not exist in front of the code. We wanted to remove this 0.

  • You could enter the original number and generated number, so we would have more elements to evaluate and respond.

  • The number given (bd return) is 12345. When this "Code128c..." is performed, it returns 012345.

  • 1

    Like others with a similar doubt to their can use it, it is always a good practice to edit the question and add the complements there.

1 answer

1

There is the MID(string, start_index, end_index) function and end_index is optional, so you can use it as follows:

MID(Code128c{(Command.numero)}, 1)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.