Solved

substring in crystal reports 2008 formulas

Posted on 2010-08-16
3
3,880 Views
Last Modified: 2012-05-10
hi

i want only the 3 first characters in my report , i use formulas but have an error
i have this
for this field
BCCDAHFFD
left({P1011.codigo},1,3)
the result i need
is BCC
thank you a lot
0
Comment
Question by:edo60
  • 2
3 Comments
 

Author Comment

by:edo60
ID: 33446961
or

mid({P1011.codigo}1,3)
but give me an error
0
 
LVL 12

Accepted Solution

by:
JayConverse earned 500 total points
ID: 33446963
left({P1011.codigo},3)

or

mid({P1011.codigo},1,3)
0
 
LVL 12

Expert Comment

by:JayConverse
ID: 33446972
What's the error?  Is {P1011.codigo} a string?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question