|
-
Jun 8th, 2006, 10:02 AM
#1
Thread Starter
Fanatic Member
References for to use TTX in CR 9
Hi
What References I put for to use TTX in CR 9 ?
tia
-
Jun 8th, 2006, 10:55 AM
#2
Lively Member
Re: References for to use TTX in CR 9
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.
Energy can be neither created not destroyed. It can only be wasted.
Red Green
-
Jun 8th, 2006, 11:17 AM
#3
Thread Starter
Fanatic Member
Re: References for to use TTX in CR 9
Thank You, but I wanted to know is what references I put in VB
In Menu Project --> References
Tia
-
Jun 8th, 2006, 11:55 AM
#4
Lively Member
Re: References for to use TTX in CR 9
 Originally Posted by mutley
Thank You, but I wanted to know is what references I put in VB
Tia
In Menu Project --> References
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
Energy can be neither created not destroyed. It can only be wasted.
Red Green
-
Jun 8th, 2006, 12:49 PM
#5
Thread Starter
Fanatic Member
Re: References for to use TTX in CR 9
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 ?
-
Jun 8th, 2006, 02:13 PM
#6
Lively Member
Re: References for to use TTX in CR 9
 Originally Posted by mutley
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.
Here's a start:
http://support.businessobjects.com/s...exq3=&indexq4=
Good luck
Energy can be neither created not destroyed. It can only be wasted.
Red Green
-
Jun 8th, 2006, 03:17 PM
#7
Thread Starter
Fanatic Member
Re: References for to use TTX in CR 9
-
Jun 16th, 2006, 01:20 PM
#8
Thread Starter
Fanatic Member
Re: References for to use TTX in CR 9
Somebody have a example ?
TTx with Crystal 9?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|