Solved

substring in crystal reports 2008 formulas

Posted on 2010-08-16
3
3,784 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

773 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