Results 1 to 2 of 2

Thread: Create a TTX file with Recordset using CR9 for ESRI

  1. #1

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

    Create a TTX file with Recordset using CR9 for ESRI

    Hi

    How can I to build a TTX file, using a recordset from ADO for Crystal Reports 9

    What API I use ?

    Somebody have a example


    Thank you in advance

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

    Re: Create a TTX file with Recordset using CR9 for ESRI

    Quote Originally Posted by mutley
    Hi

    How can I to build a TTX file, using a recordset from ADO for Crystal Reports 9

    What API I use ?

    Somebody have a example


    Thank you in advance
    Declare Function CreateFieldDefFile Lib "p2smon.dll" (lpUnk As Object, _
    ByVal fileName As String, ByVal bOverWriteFile As Long) As Long

    Call by:

    dummy = CreateFieldDefFile (<recordset name>,<path and file name ending with .ttx>,True or false) True means overwrite the existing file if there is one, false means don't overwrite.

    You need CR installed fo use this API.

    HTH
    Energy can be neither created not destroyed. It can only be wasted.

    Red Green

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