the input file is xml. then i'm using a batch file to run the code. this is a cognos command.
D:\Cognos\cer5\Bin\FMCmd -u Administrator -p admin1234 -f 1611.xml -o 1611_NewVer.xml -c NewUpload -v timestamp
D:\Cognos\cer5\Bin\FMCmd -u Administrator -p admin1234 -f MA.xml -o MA_NewVer.xml -c...
Can you put an variable for current datetime stamp in XML?
I would like to put the system datetime stamp in the below code under version label.
Thanks for your help.
<FMCmd>
<ParentId>860aa610677211daa185a5634fbc8490</ParentId>
<NewsItem>
<File>D:\CognosReports\1611\*1611*.pdf</File>...
I am using the new FMCmd with 7.4. When use the batch file to run the command, it requires a Version Label. I would like to put a the current system timestamp as the version label. Everything I have tried so far interprets it as a string. How else can I put in a variable?
Thanks
Jill
I am having trouble with this...getting a few errors. Here's the entire macro...
Declare Sub GeneratePDF()
Declare Sub SendIt()
Dim objImpApp as Object
Dim objImpRep as Object
Dim objPDFPub as Object
Dim ImpPDFRep as Object
Dim strPDFFileName As String
Dim strImrSource as String
Dim...
I am getting the above error message. I am trying to export a report to pdf. I can supply with my code if that will help. But the snipet where the problem is...
Sub GeneratePDF()
Set objImpRep = objImpApp.OpenReport(strImrSource)
objImpRep.Reexecute
Set ImpPDFRep =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.