Solved

substring in crystal reports 2008 formulas

Posted on 2010-08-16
3
4,033 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

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…
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

738 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