05-14-2005 02:40 PM
05-17-2005 08:08 AM
03-06-2006 07:47 AM
03-06-2006 09:16 AM
Johannes1,
I’m Sorry but on versions previous of DIAdem 9.0 this features are not available....
I think that you will have to create different LPD files or if is the same for your “groups” load each DATA file and update the LPD file…
03-07-2006 11:39 AM
Hi Johannes,
This is not purely an API gap. DIAdem 8.1 and previous versions only had one page in VIEW and REPORT at all times. There was no way to add a "second" sheet either interactively or programmatically. Multi-sheet REPORT and VIEW layouts was a new feature in DIAdem 9.0.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-08-2006 05:24 AM
For all with the same problem: You can copy the Picture an paste it automaticaly in ms word.
Here my code:
Call PicPrint("WinClip") ' Copy picture to clipboard
'-----------------------------------------------------------------------------------
'open Word document
'-----------------------------------------------------------------------------------
' Start Word via OLE.
' Always a new instance of Word will be created.
Set Word = CreateObject("Word.Application")
' Make Word visible. Until now Word was not visible.
Word.Visible = True
' Maximize Word-window.
Word.WindowState = wdWindowStateMaximize
' Create new Word-document based on prepared template.
AutoDrvLibr="C:\......" 'direction of the Word ducument
Const DiademWordTemplate = ".....doc" 'ducument name
Word.Documents.Add AutoDrvLibr & DiademWordTemplate, false
' Maximize document-window.
call copy_to_Word
'----------------------------------------------------------------------------------
Private Sub copy_to_Word
Word.ActiveWindow.WindowState = wdWindowStateMaximize
' Activate fullpage mode in Word.
Word.ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitFullPage
' Set reference to Word-document.
' With the help of this reference you can easily acess the Word-document.
Set WordDoc = Word.ActiveDocument
Const wdPasteMetafilePicture = &H3
'Paste picture
Word.Selection.Range.PasteSpecial , , , , wdPasteMetafilePicture
Word.Selection.EndKey 5 'Set Courser to end of page
Word.Selection.Range.InsertBreak(&H1) 'paste new sheet
Word.Selection.MoveDown 5,1 'move ohne row down to set the courser to the next page
end sub
06-22-2015 10:22 AM
Hello every one,
Is it possible to insert the name of the sheet in the sheet of the Report?
All the best,
Louval
06-23-2015 03:09 AM
Hi Louval,
which DIAdem Version do you use. Since DIAdem 1012 it is very easy to add the name of the sheet. Use the equation @@report.ActiveSheet.Name@@ in a text to display the name of the sheet.
Stefan
08-13-2015 09:45 AM
HI,
I have to create a script that will generate a report following a defined template. The report contains tables having a number of lines that will vary depending on the input data. Sometime, a graph have to be added before or after a table. I does Diadem manages the creation of the sheets?
In simple word, can Diadem behave like MS Word or like OpenOffice Write ( they add new pages when required) or do have have to manually program this behavior?
By the way, the important requirement is to have the pdf exported file that shows on multiple pages all the data of a 2DTable and the graph after this table. It is not mandatory to have all the sheets in the active Layout.