Amount in words in crystal report
Hi all,
I am new to crystal report.
What i need is i need to create a formula for amount to display in words.
That is,
if the value is AED 15,68,595 then i need this to be converted into
" one million five sixty eight thousand five hundred ninety five only"
That is,
10 lakhs is equal to 1 million,
then 5 lakhs is equal to 500 thousand + 68 thousand,
five hundred and ninety five.
Help me solving out this issue.
Regards,
Janani
HOW TO IMPLEMENT THE LOGIC.
STEP1: IN CRYSTAL REPORT RIGHT CLICK N FIELD EXPLORER RIGHT CLICK ON FORMULA FIELD AND THEN CREATE NEW..EXAMPLE WORDS
STEP2:UNDER FORMULA FIELDS CLICK ON WORDS AND THEN CLICK ON EDIT..
U CAN SEE THE BELOW FORM
THE BELOW CODE JUST COPY AND PAST IT..
IN THE BELOW BOLD COLOR U HAVE CHANGE ONLY ONE LINE..
ORDR.DocTotal I AM USING ORDER.DOCTOTAL
IN YOUR CASE THE AMOUNT IS COMMING FROM WHERE WHICH TABLE AND FIELD
THAT IS ENOUGH
numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :="";
Amt :={ORDR.DocTotal};
if Amt > 10000000 then
RmVal := truncate(Amt/10000000);
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " Crore"
else if RmVal > 1 then
InWords := InWords + " " + towords(RmVal,0) + " Crores";
Amt := Amt - Rmval * 10000000;
if Amt > 100000 then
RmVal := truncate(Amt/100000);
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " Lakh"
else if RmVal > 1 then
InWords := InWords + " " + towords(RmVal,0) + " Lakhs";
Amt := Amt - Rmval * 100000;
InWords := InWords + " " + towords(truncate(Amt),0);
ProperCase(InWords)
STEP3: IN FORMULA EDITOR JUST CLICK ON X2 ICON FOR CHECKING ERRORS IN THE
FORMULA
AFTER THAT PRESS OK..
STEP4: JUST DRAG AND DROP WORKS INTO CYRSTAL REPORT THIS IS ENOUGH
Similar Messages
-
Display Chinese Word In Crystal Report's Cross-Tab
Hi all,
I am trying to display chinese word in my cystal report. It can be display correctly in detail, page header or formula. But when come to cross-tab, it just will show some funny symbol on it. any idea?
i am using Crystal report xI release 2.
Thank You
WongHi,
I solve it.Just for your reference, change the font type inside cross-tab. -
Paginacion Word editable crystal report
Buenas
Tengo un problema al exportar a word editable, me sale en todas las pagina page 1 de N, en los otros formatos si me sale bien. El cliente necesita editar y por eso es necesario exportarlo a este formato.Hi
Need more info.
- What version of Crystal Reports are you using? What patch level?
- What version of Visual Studio?
- is it a windows or a web application?
- Does this happen on dev box or server?
- Does the report view and export fine from CR designer?
- What happens when you export the report using viewer export button to any other format e.g. PDF, excel?
- How are you exporting the report, using the code or viewer export button?
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
Pagination word editable Crystal Report
Hi,
I have a problem when I export to Word editable in Crystal report. the header constains only the text from de first page on every page (page 1 of 9) I need to solve this because the client needs to edit the document.Hi
Need more info.
- What version of Crystal Reports are you using? What patch level?
- What version of Visual Studio?
- is it a windows or a web application?
- Does this happen on dev box or server?
- Does the report view and export fine from CR designer?
- What happens when you export the report using viewer export button to any other format e.g. PDF, excel?
- How are you exporting the report, using the code or viewer export button?
- Bhushan
Senior Engineer
SAP Active Global Support
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
Run a report as output format "MS Word" under Crystal Report Server 11 R2
May I confirm any patches I can download to fix the problem ?
The problem is if I set the output format as MS Word 2003/2007 instead of crystal report when "Schedule" a report in Crystal Report Server. I found a problem all reports cannot be show on the browser (with error message "Error on page." at the bottom of browser). I need quit the infoview and login again.
Thanks for your kindly helpHello Wallace,
I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
It is monitored by qualified technicians and you will get a faster response there.
Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Invalid export DLL or export format" with Crystal Reports 2008 to Excel xls
We are experiencing the same issue as reported in the sticky thread. I answered in that thread, but thought that I woudl open a new thread to keep track of this issue. I can give you the responses to your questions you have requested in that thread:
Server Operating System - MS Windows Server 2003 R2 Enterprise Edition SP2
Version of the .NET Framework - MS .NET Framework 3.5 SP1
How did you deploy? - Installed CR 2008 SP1 runtime with msi package
If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size? CRRuntime_12_1_mlb.msi dated Sept. 16, 2008 12:55:00 PM, size: 56,717,824 bytes
What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory - File was created 9/13/08 11:21AM, 9451KB File Version: 12.1.0.882
How many libpng10.dll files are on your system? List all instances. - 1 instance is on the system located in C;\Program Files\Business Objects\Business Objects Enterprise 12.0\win32_x86 directory. It is dated 9/13/08 8:52:26AM 132KB version 1.0.30.1
Any additional comments - We have tried to export to PDF and this works successfully. However, we can not export to xls or rft formats.
CRXF_XLS.dll is 905KB 9/13/08 9:38AM Version 12.1.0.882
CRXF_RTF.dll is 509KB 9/13/08 9:35AM Version 12.1.0.882
We also have the CR XIR2 server runtime installed side by side on the server as we migrate from CR 2008 to CR XIR2 SP4 ( where this function does work currently).
Please let me know if you need anything additional.
Phil
"Invalid export DLL or export format" with Crystal Reports 2008
Posted: Sep 27, 2008 12:36 AM E-mail this message Reply
I've included this sticky because we are seeing many posts in this forum regarding the error Invalid export DLL or export format when exporting to Excel and RTF in .NET applications using the Crystal Reports 2008 .NET SDK.
Issue
Exporting a Crystal Report to Excel or RTF format
.NET application using the Crystal Reports 2008 runtime (version 12.0)
error Invalid export DLL or export format
We've been doing some testing in-house and haven't reproduced this behavior. In order to figure this issue out we will need your help. If you are getting this error please reply to this post with the following information:
Server Operating System
Version of the .NET Framework
How did you deploy?
If you deployed with CRRuntime_12_0_mlb.msi - what was the date of the file and its size?
What is the file version of crpe32.dll on your server? You'll find this in the C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 directory
How many libpng10.dll files are on your system? List all instances.
Any additional comments
What We Know
The error invalid export DLL or export format may occur when exporting to Excel and RTF formats in .NET applications utilizing the Crystal Reports 2008 runtime (v 12.0)
Other export formats like Adobe PDF, Crystal Reports, CSV all export with no error
Some customers have resolved this by adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to their environment path variables
This may have something to do with the file libpng10.dll. Both crxf_xls.dll and crxf_rtf.dll are dependent on it.
Thanks in advance for your co-operation. We hope to figure out what is causing this issue soon.Hi,
I am also having the same problem, except that I am not using Crystal Report 2008 runtime but the actual Crystal Report 2008 installation on Windows XP SP2 with VS Studio 2005 (VC++). MS .NET Framework 2.0.
Cyrstal Report XIR2 was installed on the same machine but uninstalled before installing Crystal Report 2008.
So only one instance of libpng10.dll and found in C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
Crpe32.dll 3/1/2008 version 12.0.0.683
Crxf_xls.dll 3/1/2008 version 12.0.0.683
Crxf_rtf.dll 3/1/2008 version 12.0.0.683
crdb_oracle.dll 3/1/2008 version 12.0.0.683
libpng10.dll 3/1/2008 version 1.0.30.0 122880 bytes
There is no problem for exporting to pdf, html, word, csv, Crystal Report. If I create a testing report without any data from database, the testing report can then be exported also to rtf and xls.
Oracle 11.1.0.6 is the DB for the reports.
Adding C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to the path did not resolve my problem.
Any idea to fix this issue?
Thanks
Kin H Chan -
Use dotx template as Crystal Report design template
Hi,
i have dotx (ms word with header and footer) files. how can i use it as template file for the crystal report design ?
anyway i can do this ? or any way i can use the dotx template files as background in my crystal report ?
i google alot but look like no way to link the dotx (ms word) to crystal report..hi Jiann Neow,
you can't use a dotx as a template in any automated way to create report files.
you can add them as a background though by going to Insert > OLE Object and adding them via OLE. please note though this is only good for 1 page objects.
-jamie -
Crystal Reports error - The Report Application Server failed
Hi,
I am getting the following error on XP Professional system. These reports were built earlier by one of my collegue and am trying to use the app but i stuck up getting the below error. The report gets failed
repPath=Server.MapPath ("./Reports/Umbrellas.rpt");
crReportDocument.Load(repPath); //Fails here
crReportDocument=SetLogonForReport(crReportDocument);
crReportDocument.SetParameterValue ("fromDate",DateTime.Parse (fromdt) );
crReportDocument.SetParameterValue ("toDate", DateTime.Parse (todt) );
I tried in design time attaching to Crystal Reports Viewer object , i get the same error. It looks like something related to Crystal Reports got corrupted in this system.
Please find the stack trace for the error
Stack Trace:
[COMException (0x80004005): The Report Application Server failed]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
CrystalDecisions.ReportSource.NonHTTPCachedReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
CrystalDecisions.Web.ReportAgent. (Boolean o)
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1488
Environment:
.NET v1.1.4322
Crystal Reports 10.0.0.533
OS: Windows XP Professional - Ver 2002 Severice Pack 2
I tried some of the solutions provided by searching web, it does not work. Please help!!!
Appreciate your help on this.
Edited by: KMallik2000 on Jul 15, 2009 4:39 PMHi,
I am trying to replicate the same issue on new desktop which has crystal reports 9.1 & 10 installed. I still see crystal reports 9.1 controls when i open VS.net. when i compare both desktop installed softwares, i found that the other desktop has "Crystal Reports 10 .NET runtime installed" which is not there on the new desktop. please advise whether i need to install this software to get ver 10 components installed? Appreciate your help on this. can you also advise the software download location for 10 .net run time installation?
In other words, though crystal reports 10 got installed on this desktop but it is not getting referenced in VS.NET. I am seeing only 9.1 version assemblies are being used. hence my solution is not getting compiled in this desktop. Please advise how to get the version 10 assemblies referenced in the solution
Edited by: KMallik2000 on Jul 20, 2009 4:46 PM -
Crystal Report-Amount in Words Need correction and Delivery date.
Dear Experts,
Issue 1
In crystal reports i'm converting Amount in to words using the following formula. In that i am getting Every thing in Uppercase with - i.e. RUPEES ONE THOUSAND-FIVE HUNDRED AND .
I need in Sentence case i.e all First Letters in Capital and also want to Remove '-'
Amount in Word
numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :="Rupees ";
Amt := {OPOR.DocTotal};
if Amt > 10000000 then RmVal := truncate(Amt/10000000);
if Amt = 10000000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " crore"
else
if RmVal > 1 then InWords := InWords + " " + towords(RmVal,0) + " crores";
Amt := Amt - Rmval * 10000000;
if Amt > 100000 then RmVal := truncate(Amt/100000);
if Amt = 100000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " lakhs"
Else
If RmVal > 1 then InWords := InWords + " " + ToWords(RmVal,0) + "Lakhs";
Amt := Amt - Rmval * 100000;
if Amt > 0 then InWords := InWords + " " + towords(truncate(Amt),0);
pAmt := (Amt - truncate(Amt)) * 100;
if pAmt > 0 then
InWords := InWords + " and " + towords(pAmt,0) + " paisa only"
else
InWords := InWords + " only";
UPPERCASE(InWords)
Issue 2.
At Delivery terms I'm using the following formula to display the delivery data. If the document date and due date is same it will print Delivery Immediate otherwise it should calculate the Delivery date from document date, but now it's printing DocDue date.
I need to calculate Delivery Date = DocDuedate - DocDate.
If {OPOR.DocDate} = {OPOR.DocDueDate} Then
"2. Delivery immediate"
Else
"2. Delivery on or before " & {OPOR.DocDueDate}
Thanks
KamalHi
Try this formula
numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :="Rupees ";
Amt := {@GrandTotal} ;
if Amt > 10000000 then RmVal := truncate(Amt/10000000);
if Amt = 10000000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + ProperCase (towords(RmVal,0)) + " crore"
else
if RmVal > 1 then InWords := InWords + " " + ProperCase (towords(RmVal,0)) + " crores";
Amt := Amt - Rmval * 10000000;
if Amt > 100000 then RmVal := truncate(Amt/100000);
if Amt = 100000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + ProperCase (towords(RmVal,0)) + " lakhs"
Else
If RmVal > 1 then InWords := InWords + " " + ProperCase (ToWords(RmVal,0)) + " Lakhs";
Amt := Amt - Rmval * 100000;
if Amt > 0 then InWords := InWords + " " + ProperCase (towords(truncate(Amt),0));
pAmt := (Amt - truncate(Amt)) * 100;
if pAmt > 0 then
InWords := InWords + " and " + ProperCase (towords(pAmt,0)) + " paise only"
else
InWords := InWords + " only";
ProperCase(InWords)
Regards
Vivek -
DocTotal in words Crystal Report
Hello,
I am trying to convert DocTotal field into words and not able to do so. Please advise a formula which an help me to get the doctotal in words in Purchase Order Crystal Report Layout
For example by doctotal is 22,750.00 so I want the amount in words as
Twenty Two Thousand Seven Hundred Fifty US Dollors & Zero cents.
Please advise.
Kind Regards,
RaviHi Ravi,
Use this :
numbervar RmVal:=0;
numbervar Amt:=0;
numbervar pAmt:=0;
stringvar InWords :="Rupees ";
Amt := <Enter your value here or Pass field here>
if Amt > 10000000 then RmVal := truncate(Amt/10000000);
if Amt = 10000000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " crore"
else
if RmVal > 1 then InWords := InWords + " " + towords(RmVal,0) + " crores";
Amt := Amt - Rmval * 10000000;
if Amt > 100000 then RmVal := truncate(Amt/100000);
if Amt = 100000 then RmVal := 1;
if RmVal = 1 then
InWords := InWords + " " + towords(RmVal,0) + " lakhs"
Else
If RmVal > 1 then InWords := InWords + " " + ToWords(RmVal,0) + "Lakhs";
Amt := Amt - Rmval * 100000;
if Amt > 0 then InWords := InWords + " " + towords(truncate(Amt),0);
pAmt := (Amt - truncate(Amt)) * 100;
if pAmt > 0 then
InWords := InWords + " and " + towords(pAmt,0) + " paisa only"
else
InWords := InWords + " only";
UPPERCASE(InWords) -
The export of a Crystal Reports to MS Word creates big files
Hi all,
if I export a report to pdf the file size is 72 KB . But if I export to Microsoft Word (97-2003) format, the filesize amounts to 1,35 MB.
After I opened the exported document in MS Word and saved it with a new name, the size is only 176 KB.
Is this a common problem? Is it possible to force crystal reports produce a smaller document?
Why does Crystal Reports create such large files?
(Environment: Crystal Reports 2008 SP1)
Regards, TimoHallo Don,
first Iwill tell you, if I do export the Report to MS Word, in the FileDialog, it is only possible to create a *.rtf - File.
Do it act normal?
So due to your suggestion, i replaced an Image in the report (embedded as an OleObject) as a Graphic-JPG-Object.
The size of the exported report has reduced from 1,39 MB to 141 KB.
Thanks a lot!
Timo -
Programmatically adding a Word Document or PDF to a crystal report
I am using Crystal XI for windows. I have a VB.Net windows application that I am trying to insert a Word Document and/or PDF into. I want to programmatically be able to add any file(s) to a crystal report. Is there any sample code or guidance that can show me how to programmically add a file to a report?
In the user interface, the user can click on unlimited number of PDFs, Word Documents... to insert into a Crystal Report. Is this possible? If so, please show steps and some sample code how to do this.
Kind Regards,
JeffIn this example, the ReportAppFactory gets initialized with the instance from the session object... If I am doing this in windows (not a web application), how would this change it if this is a windows application with no session object?
I am connecting against an ADO.Net (XML) file on the same computer - no connection information required... I just want to open the report file, SetDataSource to a dataset ...then do the other stuff in the example. I think after I get past connecting to the data and opening the report, the rest of working with sections and adding ole objects I can get from the examples. All of the sample code that I found are web based and don't show how to connect if you are windows based - not over a web page.
I am not using a CMS or anything web / network based... I just want to connect to a local XML file that was generated from Visual Studio .Net 2005. The example below is one of the Crystal Samples... they are all web based samples. ...I am looking for a windows based sample to see how to connect and open a report file.
Example:
If Not (Session("boEnterpriseSession") Is Nothing) Then
boEnterpriseSession = CType(Session("boEnterpriseSession"), CrystalDecisions.Enterprise.EnterpriseSession)
Else
'Log on to the Enterprise CMS
boSessionMgr = New CrystalDecisions.Enterprise.SessionMgr
boEnterpriseSession = boSessionMgr.Logon(Request.QueryString.Item("username"), Request.QueryString.Item("password"), Request.QueryString.Item("cms"), Request.QueryString.Item("authtype"))
Session.Add("boEnterpriseSession", boEnterpriseSession)
End If
'get report object from session or create a new report object
If Not (Session("boReportClientDocument") Is Nothing) Then
boReportClientDocument = CType(Session("boReportClientDocument"), CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument)
Else
boEnterpriseService = boEnterpriseSession.GetService("", "InfoStore")
boInfoStore = New CrystalDecisions.Enterprise.InfoStore(boEnterpriseService)
boReportName = "SimpleRCAPIReport.rpt"
'Retrieve the report object from the InfoStore, only need the SI_ID for RAS
boQuery = "Select SI_ID From CI_INFOOBJECTS Where SI_NAME = '" + boReportName + _
"' AND SI_Instance=0"
boInfoObjects = boInfoStore.Query(boQuery)
boInfoObject = boInfoObjects(1)
boEnterpriseService = Nothing
'Retrieve the RASReportFactory
boEnterpriseService = boEnterpriseSession.GetService("RASReportFactory")
boReportAppFactory = CType(boEnterpriseService.Interface, CrystalDecisions.ReportAppServer.ClientDoc.ReportAppFactory)
'Open the report from Enterprise
boReportClientDocument = boReportAppFactory.OpenDocument(boInfoObject.ID, 0)
'First determine where to add - in this case the details Area
boArea = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea
'Create the new section object
boSection = New CrystalDecisions.ReportAppServer.ReportDefModel.Section
'Set the properties for the section
boSection.Kind = CrystalDecisions.ReportAppServer.ReportDefModel.CrAreaSectionKindEnum.crAreaSectionKindDetail
boSection.Name = "Detail2"
boSection.Height = 1000
boSection.Width = 11520
'Now add the section
boReportClientDocument.ReportDefController.ReportSectionController.Add(boSection, boArea, -1)
'Add the reportClientDocument to session
Session.Add("boReportClientDocument", boReportClientDocument)
End If
Thanks,
Jeff
Edited by: Jeff Dressing on Aug 20, 2008 10:48 AM -
Crystal Report error exporting to Word
My company recently deployed a Microsoft Security Patch to our workstations that's causing a problem with Crystal Reports. When exporting a Crystal report to a Word file (from a VB 6 application) the following error is generated when opening the file: "You are attempting to open a file that was created in an earlier version of Microsoft Office. This file type is blocked from opening in this version by your registry policy setting."
My company uses Crystal Reports v 8.0.1.0. Is there a more recent release that provides a fix for this error?
Thanks.
David
Edited by: David Verbinski on Nov 5, 2008 10:35 PMI know 100mb works because I have created word document reports with that size before using the crystal export. Just really big reports. I'm not sure on the exact size because it doesnu2019t work but I know there is more data in the report than the 100MB report which works so it doesnu2019t work on some reports larger than that (don't know the specific size because it doesnu2019t work) sorry for being redundant.
Not sure about a size limitation on an RTF formatted document that is saved as a *.doc (word document).
It's my understanding that exporting to a .doc is the same as exporting to .rtf because the .doc is in .rtf format. I may be wrong but if you change a .rtf extension to a .doc extension, you get the same thing when opening the file in word.
When exporting to RTF format I get the same error, so I believe they are using the same or similar process.
Yes I tried on other machines and different servers and the error only occurs when exporting large documents to word. Small documents work fine.
If there are file constraints in exporting to word, I believe a more distinct error message could be displayed related to the specific error.
No I did not upgrade my pc or software, I developed the report and am running specificly for 11.5 release 2 with service pace 3 installed.
Thanks,
K -
Problems in exporting crystal report to word format
Hi All,
I am getting trouble in exporting crystal report to word formats.
Here are my questions:
1) The exported word file will have a text "R..950" added on top right hand corner, How to get rid of it?
2) For those "Can Grow" fields, it can show multiple line data correctly in the viewer. However, the text box in exported word file will be too small to show all the content and lower half of the text is cut.
Thanks and Regards,
CherryHi Asha,
Thanks for reply.
The version of crystal report designer and viewer which I am using is version 11 Release 2.
Besides, I guess it might relate to the format of report so I would like to tell you more.
Font Face: Arial Unicode MS (in order to show chinese characters)
Font Size: 9 pt
For the text "R..950" issue, I just found that some people in the internet having the same issue and they suggested that may relate to the locate. In my case, the locate is Chinese (Hong Kong S.A.R.).
If it is necessary, I may send you my report with sample for test.
Regards,
Cherry -
Import text / word documents into a Crystal Report
Good morning,
I need to import a Text file/Word Doc. into a crystal report, these files are based on a field, i mean
The data in the field is "alr-finclk", then the file to import is alr-finclk. if the data is "alr-pro" the file is alr-pro and so on..
Have we any way of getting this report ?
Thks for your help
Jose MarinI have found the following formula which is running when the file isn't a big one...,
StringVar sFile;
NumberVar i;
i := 1;
while FileGetText( "c:\file.txt", i) <>"" Do
sFile := sFile + FileGetText( "c:\file.txt", i);
i := i + 1
sFile;
but when the file is big i get
A STRING CAN BE AT MOST 65534 CHARACTERS LONG
Any way of solving this?
Thks
Jose Marin
Maybe you are looking for
-
How to call a java method so I can pass a file into the method
I want to pass a file into a java method method from the main method. Can anyone give me some help as to how I pass the file into the method - do I pass the file name ? are there any special points I need to put in the methods signature etc ? FileRea
-
How do i recover my music and apps!!!
i just got a imac and i plugged my iphone 4 in and i have the music in my phone but my apps arent in my computer and they wont open on my phone how do i recover my lost apps without paying for them again? PLEASE HELP!
-
Disable Digital Signatures in 10.1.3?
I have a PDF form that would give me the "Security setting on this document prevent... placing a signature on it from Adobe Reader" when I clicked the "Sign" tab. Now after upgrading to 10.1.3 I don't get this message anymore. It lets me apply a sign
-
System Preferences Compatability Issue
I recently went from Leopard to tiger after a system crash, and now I am unable to open my system preferences (using tiger OS X). Is there any way to get back the tiger system preferences with out completely wiping my drive?
-
Raise Event Activity in a process
Hello ! I wonder if someone can help me with some advice about the raise activity in a process. I want my process to send a message to an agent and wait for the response. I have configured my process to do this by having a send transitioning into a r