Results 1 to 8 of 8

Thread: References for to use TTX in CR 9

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    References for to use TTX in CR 9

    Hi

    What References I put for to use TTX in CR 9 ?


    tia

  2. #2
    Lively Member
    Join Date
    Mar 2006
    Posts
    94

    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

  3. #3

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    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

  4. #4
    Lively Member
    Join Date
    Mar 2006
    Posts
    94

    Re: References for to use TTX in CR 9

    Quote 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

  5. #5

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    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 ?

  6. #6
    Lively Member
    Join Date
    Mar 2006
    Posts
    94

    Re: References for to use TTX in CR 9

    Quote 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

  7. #7

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    Re: References for to use TTX in CR 9

    Ok , tks

  8. #8

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    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
  •  



Click Here to Expand Forum to Full Width