Hi
What References I put for to use TTX in CR 9 ?
tia
Printable View
Hi
What References I put for to use TTX in CR 9 ?
tia
None. You need to include an API call:
Declare Function CreateFieldDefFile Lib "p2smon.dll" (lpUnk As Object, _
ByVal fileName As String, ByVal bOverWriteFile As Long) As Long
To create the ttx file the usage is:
CreateFieldDefFile <RecordsetName>, <Path to File .ttx>, 1 <- for overwriting the old one, 0 for no overwriting.
I'm using ver 8.5 so it may be a little different, but thats the general idea.
Thank You, but I wanted to know is what references I put in VB
In Menu Project --> References
Tia
In Menu Project --> ReferencesQuote:
Originally Posted by mutley
OK now I'm confused. You definitely do NOT need anything added in the references in order to create and use ttx files in CR, therefore none is the answer you need.
To use CR viewer, you need to add the Crystal components (not sure which it is for ver 9) in the references.
So to sum it up, to use CR you need to add references. To create ttx files you only need to use the API call. Then after you've added the CR components then you can assign the ttx files to the created report.
Put that API call into a .bas module and make it globally available whenever you need to create another ttx file. When you need one, use it like I demonstrated.
Cheers
Sorry, my english is horrible
I'm using VB with CR9, Create TTX , Work fine, but how can I to use, without References object from Crystal
What dll , or object I put ?
Well thats a very involved question that can be accomplished more than one way. Your best bet is to go to the Business Objects website and look in the tutorials.Quote:
Originally Posted by mutley
Here's a start:
http://support.businessobjects.com/s...exq3=&indexq4=
Good luck
Ok , tks
Somebody have a example ?
TTx with Crystal 9?