Error in parameter value
Dear support,
I tried the example code STCsinglePeriodMeasure.c for DAQ(6034E)with success. But when I changed the internal timebase from 100KHz to 1250kHz, I received error 10122(Invalid paramValue used). It is defined in nidaqcns.h.
Please enlighten mi, thank you.
Hellom
If you wrote your app in NET I recommend to post this query to the [.NET Development - Crystal Reports|SAP Crystal Reports, version for Visual Studio; forum.
This forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports .NET Development queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk
Similar Messages
-
Use of layout when more than one parameter - Error Missing Parameter Values
Hi,
Is it possible to use a crystal report which has more than one parameter as the layout for the bill of materials report.
I have 3 parameters
1. DocKey@ The Bill of Materials to be printed
2. Number of levels to be printed
3. type of levels to print.
When I try to print it gives me the error Missing Parameter Values.
I have tried changing the DocKey@ to CodeKey@ but the same error.
Does anyone now where to find a list of these tokens?
Thanks
ChrisI looked at the crystal report conversion to try to find what parameters it used and found none.
I have managed to create and use a crystal report to replace the production order using DocKey@ as the parameter. This works within SAP. However I have converted the system production order to crystal reports and from the converted report I cannot see any parameters at all.
How and where can you find out what paramters you need to use to replace any PLD report? Several reports have multiple selection criteria before the report prints. How can you find out what their tokens are called? I am starting to pull my hair out. I am getting great help from this forum, but do you know any documentation which actually explains this area.
Thanks
Chris -
Error Missing Parameter Values
I am very inexperinced in VB and ASP.Net.
That being said I have used forums and tutorials to develop the code below.
In the code I have hard coded some values to be passed to the report for testing...see num_inv and ser_inv.
When I run the code I get an error "Missing Parameter Values".
If I remove the lines that setparamervalues and turn on the enableparamaterpromt the report works fine and I can manually enter the values and see my completed report.
More Details...
The Crystal Report uses an ODBC connection to a SQL Server. I am only using one view to feed the report and there are no subreports. I am buidling the web app in VS2010 with the crystal reports version for VS2010 installed.
Dorry if I didn't give enough information...I don't know what else is relavant.
Any help would be greatly appreciated!
Private Const PARAMETER_FIELD_NAME_1 As String = "Invoice"
Private Const PARAMETER_FIELD_NAME_2 As String = "Serial"
Private Sub WebForm2_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private InvoiceReport As ReportDocument
Private Sub ConfigureCrystalReports()
Dim num_inv As Integer
Dim num_ser As Integer
num_inv = 880822
'Request.QueryString("inv")
num_ser = 1
'Request.QueryString("ser")
InvoiceReport = New ReportDocument()
Dim reportPath As String = Server.MapPath("S36 Invoice.rpt")
InvoiceReport.Load(reportPath)
InvoiceReport.SetParameterValue(PARAMETER_FIELD_NAME_1, num_inv)
InvoiceReport.SetParameterValue(PARAMETER_FIELD_NAME_2, num_ser)
CrystalReportViewer1.ReportSource = reportPath
End SubI would start by enabling the parameter prompt and passing the parameters in code. You will only be prompted for the parameters that did not receive an acceptable value. This will let you see if your code to set the values is working for one or neither of your parameters. Calling the setparametervalues method will not return an error if the value isn't accepted.
Also, make sure your datatype is the same as defined in the report, and make sure you have no differences in the parameter names. Note, if the parameters are automatically created in the report because they came from a stored procedure, you need to include the @ symbol in the name as you see in the designer. -
Error: Missing Parameter Values on
I've started experiencing the "Missing Parameter Values" error on a report containing a subreport. All of my other reports can export just fine, but just not the one with the subreport. The report (and the subreport) both use a stored procedure to retrieve their data, with 4 parameters. The first three parameters are linked directly from the report to the subreport. The 4th parameter is optional, and is linked to the subreport with a Formula Field.
When I delete the subreport, the report exports just fine, so the issue is definitely with the subreport ?configuration?
I'm using Visual Studio 2005, with Crystal Reports for VS 2005. I've been searching the forums, and I downloaded and installed a package: crnet20win32x86_en_chf.zip, but it didn't solve my problem. Just to be sure, I restarted and installed it with nothing running, in case that could be a factor.
Is there anything I can do to work through this? Any other fix I'm missing?
Thanks
AlexThanks for the tip. I did that just now, and I found the [Hot Fix|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313339333533393334%7D.do]
That particular Hot Fix describes my situation exactly, in that a report Stored Procedure parameter is "supposed" to be passed on to the Subreport. However, the Hot Fix describes prompting, which isn't occurring in my case, since I'm exporting the report entirely in code. My situation is just the error, Missing Parameter Values.
In any case, I've already run that entire Hot Fix package (twice), and I've found that I have 2 of the crpe32.dlls. Neither one is the version specified in the Hot Fix, (Version 10.2.0.1256). The second dll listed below seems to be of a version prior to the Hot Fix, I don't know if it could be the reason why it still doesn't work after applying the Hot Fix.
C:Program FilesCommon FilesBusiness Objects2.7Bin (Date 1/11/2007, version: 10.2.0.1624) and
C:Program FilesCommon FilesCrystal Decisions2.5Bin (Date 10/5/2005, version: 10.0.5.1177).
I've checked all the versions of references in my projects, and they all reference the 2.7 dlls, but I'd like to know if there is a way to replace the 2.5 version, just in case.
As far as the other search results, they hinted at things I've already tried. What else can I try?
Thanks,
Alex -
Error Missing parameter values - I get this in 11g app server only
Hi.. I had an application in JSP-Struts, previously on 10g app server. I now migrated the code into 11g.
I get the error on CrystalViewer.jsp
Error
Missing parameter values
Steps that lead up to the error:
The very first time anyone enters the application and clicks a submit button on the jsp, after entering data and/or picking from drop menus, the error shows up on a separate page (thrown by crystalViewer.jsp)
When I get this error, and click the browsers back button, and simply click the submit button on the jsp screen again, the reports work fine (like they do in 10g).
Tried the following:
I used log4j and followed the data as it made its way from Struts to Crystal Factory. But once it gets out of Struts, and forwards to Crystal, I receive the error from the CrystalViewer.jsp
Next, I removed code in struts-action, that used crystal factory to 'set parameter', and didnt send any parameters, letting my crystal report bring back some random records.. And this works even the first submit! So the problem is only when I have to send parameters to crystsl
Additional info:
I do not send any null values across, since I read on these forums that folks were having issues with setting nulls etc... I check for null and then force 'All' in the parameter if the user does not enter data or pick from the drop-down.
I need help resolving this . Thanks and have a great day.
(Are there any changes to be made to the Struts config, or any additions to Web.xml? Should Crystal reports be changed in anyway so they can function like they did in 10g?)The Crystal SDK doesn't know or care that you're using Struts.
The exception is stating you're not setting parameters.
So wherever you're trying to set parameters, whatever's reaching the viewer don't have them set.
Why not trace the workflow to see what's where?
Sincerely,
Ted Ueda -
Error printing Check - "Missing Parameter Values. Error During Printing"
Dear friends,
Our client is in SAP B1 8.81 Pl07 and is facing an error while printing checks designed in Crystal Reports. As soon as they click on "Print" button, we are getting an error "Missing Parameter Values. Error During Printing".
We have checked the Crystal Reports and all the parameters are given.
Can anyone help me regarding this?
Thanks and regards,
Bharath Shi,
Quoted from Note 1555170
1555170 - Error 'Missing parameter values' printing with CR layout
Symptom
When you print on add any stock transactions document, with Crystal report layout, you receive error message:'Missing parameter values' and then 'Error during the printing; ensure all parameters are defined'
Step by Step scenario:
1.Go to Administration / System Initialization / Print preferences and select the tab per document.
2.Select the document stock transfer and tick the box print document when adding document and click on update.
3.Go to stock management / stock transactions / stock transfer
set the Crystal report template as default.
Note:
- The issue is reproduced also for Goods Receipt and Good Issue.
- The issue is reporduced with any Crystal Report Template for the above documents.
Cause
Program error
Solution
This issue is candidate for a change in a future release of SAP Business One.
Workarounds:
1.Use PLD for printing the stock transactions.
2.Convert the PLD layout to Crystal reports with Crystal converter.
3.Print the document after adding it.
Other terms
sap business one, printing issues, good issue, good receipt, stock transfer, crystal report, print preferences, print when adding, dockey, missing parameter
Header Data
Released on 07.02.2011 13:27:30
Release status Released for Customer
Component SBO-REP-CR Crystal Reports 2008 for SAP Business One
Other Components
SBO-GEN-PRT Printing Issues
Priority Correction with low priority
Category Program error
Validity
Software Component
Version
SAP BUSINESS ONE
8.8
8.81
you can download the PLD to Crystal Converter [here|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/108305a7-1555-2d10-8289-9a178d441c71]
regards,
Fidel -
"Missing parameter value" error on autoprinting with CR layout
Hi all, i had recently run into the following:
document layouts that work perfectly from preview and after adding a document, dont work if the document is auto printed on add.
Gives an error:
missing parameter value
And in system messages log:
Error during printing: ensure all parameter values are defined.
With only @dockey token present in the layouts (so no other parameter).
What makes me wonder is that this doesn't happen to all the layouts, most of them works perfectly the same way (only dockey parameter, autoprint is set etc.) but the stock related documents do this on add.
Any ideas?
I found a likely issue in note 1466274 but it's listed as fixed in 8.8 PL 13, we are on PL 15. Could reproduce on PL 18.
Thanks and regards.
DanielHi Gordon.
I could reproduce on the test copy of the db even on different patch levels.
Can this be the almost same issue as stated in the note? I mean same code problem but at another point?
Yesterday i found another example:
uppon exiting the dunning wizard with print and exit option allmost the same error. The difference is that beforehand the same error messages one pops up with the following:
title:Crystal Reports Windows form viewer
"A report application server meghibásodott." (this is even with sap b1 gui langugage set to english)
"The Report application server crashed/broke down(?)"
Will try to test it on the demo database now..
Any ideas?
Thank you.
Regards.
D
Edited by: Daniel Omaisz Takacs on Feb 1, 2011 9:09 AM -
"Missing parameter values." -- Export and Print only...
I have a web application and I am using CrystalReportViewer. I am passing several parameters to Crystal using:
report.SetParameterValue(field.Name, Session[field.Name]);
I have session variables which will hold parameters needed to pass into the report. The session variables are populated from controls on my webpage after an onclick event. This even not only populates session, but also passes parameters to the report with the following code:
ReportDocument report = new ReportDocument();
Session["MapPathName"] = "./Reporting/CaseStudy.rpt";
report.FileName = Server.MapPath(Session["MapPathName"].ToString());
ParameterFields fields = new CrystalDecisions.Shared.ParameterFields();
fields = report.ParameterFields;
foreach (ParameterField field in fields)
report.SetParameterValue(field.Name, Session[field.Name]);
CrystalReportViewer1.ReportSource = report;
This works great for reporting and is very extensible. However, when clicking on the "Print" or "Export" buttons on the toolbar I get "Missing parameter values." I attempted to export manually in code using the .ExportToStream function but I still get the error, "Missing parameter values."
I received this error also in Refresh, Search, and Navigate functions. This was corrected by calling a function that supplies the above code block to these functions. However, I do not see any events for controlling the Print nor the Export events.
QUESTION: How can I print or export a report when passing parameters using CrystalReportViewer? Thanks in advance!
P.S. - Crystal Reports XI Release 2
Edited by: KyleSavant on Jun 18, 2009 5:42 PMThere are no Export or Print events accessible for the viewer
Since it sounds like you are creating the reportdocument object in your click event, the settings on this object become out of scope on successive postbacks executed by other events.
to get around this without major changes, you can place your "report" object in session in this event and retrieve it from session on successive postbacks. This should solve your problems around navigation, printing and exporting. What you will need to do is check if the session object exists (usually in page_load or page_initialze) and if so, retrieve it from session and bind it to the viewer's reportsource. If the session object does not exist, then do nothing (ie you have not clicked your button yet that retrieves the parameter values from session and loads the report). Also, in your click event you can check if the report session object exists and if so, remove it so that it can be re-created with your new parameter values (ie i'm assuming the only time you want to set parameter values is in this event).
Dan -
Crystal Reports 2008 SP3 Additional parameter values are needed
I recently upgraded to Crystal Reports 2008 SP3, and now when I try an export a report from the Crystal Reports Designer, I get the error "Additional parameter values are needed before this report can be saved or viewed with data. Click 'Ok' to enter the missing values or 'Cancel' to proceed without data". I am trying to export the report to Crystal Reports format. The report is getting data from a MS SQL 2005 stored proc. I tried building a new simple report (just took all the fields in the result set and put them in the details section) using the same stored proc, and get the same error when I try to export.
FYI, before I try to export I always preview the data in the report, so the parameters are defiantly set correctly.
This was working correctly in Crystal Reports 2008 SP2.Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
CRVS2010 Beta - Missing parameter values
I want to export my report to pdf file and I want to set some parameters in report in runtime.
But when I try to do it I have exception "Missing parameter values".
Productversion: Visual Studio 2010 + Crystal Report 2008 + service pack v3.
I read that problem was resolved in service pack v2.
But now I don't have any idea how to fix my problem.
I create report and add parameters ("MyParameter") as string.
My test project:
//Load report
//Set db connection
try
ParameterValues crParameterValues = report.DataDefinition.ParameterFields["MyParameter"].CurrentValues;
ParameterDiscreteValue crParameterDiscreteValue = new ParameterDiscreteValue {Value = "SBSUrl"};
crParameterValues.Clear();
crParameterValues.Add(crParameterDiscreteValue);
report.DataDefinition.ParameterFields["MyParameter"].ApplyCurrentValues(crParameterValues);
report.VerifyDatabase();
report.Refresh();
string reportFileName = string.Format(@"D:\CrystalReport\CRResult-{0}.pdf", DateTime.Now.Ticks);
ExportOptions rptExportOption;
var rptFileDestOption = new DiskFileDestinationOptions();
var rptFormatOption = new PdfRtfWordFormatOptions();
rptFileDestOption.DiskFileName = reportFileName;
rptExportOption = report.ExportOptions;
rptExportOption.ExportDestinationType = ExportDestinationType.DiskFile;
rptExportOption.ExportFormatType = ExportFormatType.PortableDocFormat;
rptExportOption.ExportDestinationOptions = rptFileDestOption;
rptExportOption.ExportFormatOptions = rptFormatOption;
report.Export(); // I have exception here ("Missing parameter values.")
catch (Exception e)
Console.WriteLine(e);
private void SetCurrentValuesForParameterField(ReportDocument reportDocument, ArrayList arrayList)
ParameterValues currentParameterValues = new ParameterValues();
foreach (object submittedValue in arrayList)
ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue();
parameterDiscreteValue.Value = submittedValue.ToString();
currentParameterValues.Add(parameterDiscreteValue);
ParameterFieldDefinitions parameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields;
ParameterFieldDefinition parameterFieldDefinition = parameterFieldDefinitions["MyParameter"];
parameterFieldDefinition.CurrentValues.IsNoValue = true;
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues);
Could anybody help me with this exception?Make sure you log on to the database, set the parameter, then export.
See the following KBases:
[1244475 - Error: Missing parameter value when exporting a Crystal Report with optional parameters using the CR .NET SDK|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[1215426 - Err Msg: Missing parameter value when printing or exporting in VS .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[1215536 - Err Msg: Missing parameter field current value when exporting/printing in .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
[1216546 - Err Msg: Missing Parameter Field Current Value when viewing a report in VS.NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
Also, see the following forum thread for possible solutions:
Passing Parameters CR 2008 VS 2008 ASP.net
Ludek -
Parameter value "Half year " is not accepting by while updating time dimen
Hi,
while i am updating "Time" dimention i am getting an error as parameter value "Halfyear" is not valid value. But system is accepting Daily, Monthly, Quarterly and yearly under Level parameter.
So please advise me how to proceed on this.
Regards,
M.Chandra Sekhar ChowdaryHi,
This is definitely not the answer you might be expecting. We have it as 'DAY' for the level property values for H1 and H2(completely not reasonable). But you can process the TIME dimension with this 'value' for half year provided you dont have dates as your time members (which may be the case).
Try using 'DAY' and process the dimension as a work around. We could wait if there is any other valid reason behind this (not taking 'halfyear').
Thanks -
Error: Missing initial value for session parameter
Hi,
I'm facing a problem while running the ETL process for Complete 11.5.10 Execution Plan in DAC Client. Some tasks are getting failed beacuse of the following error:-
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: VAR_27026 [Error: Missing initial value for session parameter:[$DBConnection_OLAP].].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6270 [Error: Variable parameter expansion error.].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6163 [Error initializing variables and parameters for the paritition.].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6226 [ERROR: Failed to initialize session [SDE_ORA_Product_Category_Derive_Full]].
ERROR : LM_36320 [Mon Nov 19 21:02:08 2007] : (2108|2632) Session task instance [SDE_ORA_Product_Category_Derive_Full]: Execution failed.
When i checked the parameter file i can see the value assigned to the $DBConnection_OLAP. The same tasks ran successfully when i ran the ETL process for Complete 11.5.10 for the first time. I did not change anything after that and also all these are came built-in with the installation of Oracle BI Applications.
Please anyone give me an idea what is causing the problem.
Thanks,in DAC > Run History > Task Details, query
Name = SDE_ORA_Product_Category_Temporary
Open Status Description, look for string -lpf, the file after it is the actual parameter file DAC send to INFA server. E.g
-lpf D:\DACTOPUS\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Product_Category_Temporary.txt
Open the parameter file, most likely the [session_name] does not match with SDE_ORA_Product_Category_Derive_Full or some parameters are missing. -
Invalid parameter value Error while Extending PoReqDistributionsVO
Hi,
My Requirement is to restrict user from enetring certain values in a field in iProcurement Page based on some condition. The attribute on which I have to place the validation is CodeCombinationId and the VO name is PoReqDistributionsVO. So, I extended the VO and generated the VORowImpl class for the extended VO. Please note that I have extended the VO just to override the setter method for the CodeCombinationId in the VORowImpl. I did not change any other thing on the VO. Once I deploy the code, I am getting the following error for the first time:
## Detail 0 ##
oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoReqDistributionsVO for source passed to method ViewLinkImpl.setSource. Explanation: view def mismatch
And then if I try to open the page again, it gives me multiple distribution lines. (Say for example I have only one distribution line for the requistion line and my distribution table PO_REQ_DISTRIBUTIONS_ALL has total 20 records, then all the 20 records are getting displayed in the front end.)
So, clearly after I extended the VO, the viewlink is not able to identify the viewlink.
I went through the following thread:
oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value
As suggested in the therad, I thought of copying all the view link related methods from the original VO files. But, I could not get any Viewlink related information in any of the three seeded files PoReqDistributionsVO.xml, PoReqDistributionsVOImpl.class and PoReqDistributionsVORowImpl.class. But I can find one View Link oracle.apps.icx.por.req.server.ReqLineToDistributionsVL in teh server which is linking PoRequisitionLinesVO to PoReqDistributionsVO.
Could anyone suggest me what I need to do to resolve the issue.
Edited by: 892480 on Oct 20, 2011 8:13 AMHi Gurus,
Any suggestion on the above issue? -
Error while exporting : ORA-24801: illegal parameter value in OCI lob funct
hello,
I am doing an export on a 10.2.0.4 , solaris machine.
The table i am doing an export has a blob & clob.
During the export I get the error :
EXP-00056: ORACLE error 24801 encountered
ORA-24801: illegal parameter value in OCI lob function
In metalink it was given : Check every parameter in the OCI Lob function call to make sure they
are correct. Offsets should be greater than or equal to one.
Where should I check for that OCI Lob function. Or is there any other alternative to do the export.
Thanks for any help.I have increased the space on the mount I was doing the export and that solved the problem.
Thanks -
Dear ALL,
i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
var myBookFileName ,myBookFileName_temp;
if ( myFolder != null )
var myFiles = [];
var myAllFilesList = myFolder.getFiles("*.indd");
for (var f = 0; f < myAllFilesList.length; f++)
var myFile = myAllFilesList[f];
myFiles.push(myFile);
if ( myFiles.length > 0 )
myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
myBookFileName_temp=myFolder.name ;
myBookFile = new File( myBookFileName );
myBook = app.books.add( myBookFile );
myBook.automaticPagination = false;
for ( i=0; i < myFiles.length; i++ )
myBook.bookContents.add( myFiles[i] );
var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
var bookComps = myBook.bookContents;
if (bookComps.length === 1)
bookComps = [bookComps];
var myPDFExportPreset = app.pdfExportPresets.item("AER6");
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
//myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
//myBook.exportFile(pdfFile, false, pdfPref, bookComps);
myBook.close(SaveOptions.yes);Change the below line:
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
to
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
Vandy
Maybe you are looking for
-
I have a fairly new iMac running OS 10.6.7. Im trying to print to an Epson Stylus Pro 3800 via an in-house wireless internet. I have installed the latest drivers. It was working a couple of months ago. My wife is on the same network using a MacBo
-
Hi there, I have this issue with my Execute SQL Task Failing. I am trying to execute a sp using an execute sql task. The execute statement is contained in a variable (exec [sp_name] par1, par2) that I have declared at the package level. Now inside t
-
N:1 Multi mapping issue at PI 7.1
Hi Experts, I have 2 different source message types (824 & 997) to be mapped to target mail package (N:1 mapping). I have added both the source messages (provided xsd for 824 & 997 as External defination) under Tab "Signature" . Now when I go back to
-
File send command in Word not working - can anyone help?
I've just bought a new macbook air, all is well apart from being able to email docs from word or excel which I do frequently. When I use the File/Send command, I just get the spinning pinwheel for about 20 secs which then disappears. I then have t
-
Hi all, I couldnt able to maintain condition record in the key combination of tax classification 003. For condition type JMOP, i have maintained 8% for V1 tax code. If i maintain 2% for condition type JEC1 and 1% for JSEP, the system is not allowing