I have Crystal Reports version 7 and I can't get the data to show up using multiple ttx files in VB 6. If I use one its fine - anybody know if there is special code to write to see all the data from these 3 files. This is an example of one recordset populating one ttx file - the rest are about the same. Any help is much appreciated.<br><br> <br> Dim rsDateDiff3 As Recordset<br> Set rsDateDiff3 = New Recordset<br> Set rsDateDiff3 = DataEnvironment1.Connection1.Execute _<br> ("SELECT DateDiff3, COUNT(DateDiff3) AS Frequency " & _<br> "From tblComm_DptyOrders " & _<br> "WHERE (HearingDate >= CONVERT(DATETIME, '" & Me.txtStart_Date.Text & "', 102)) " & _<br> "AND (HearingDate <= CONVERT(DATETIME, '" & Me.txtEnd_Date.Text & "', 102)) " & _<br> "GROUP BY DateDiff3 " & _<br> "ORDER BY DateDiff3, COUNT(DateDiff3) "
<br> <br> If rsDateDiff3.EOF Then<br> MsgBox "no data"<br> End If<br> <br> If CreateFieldDefFile(rsDateDiff3, App.Path & "\crDateDiff3.ttx", True) <> 0 Then<br> MsgBox "Field definition successfully created"<br> Else<br> 'MsgBox "Failed to create field definition file"<br> End If<br> <br> Set CrystalDatabase = crTimeStudyAnalysis.Database<br> Set CrystalTables = CrystalDatabase.Tables<br> Set CrystalTable = CrystalTables.Item(1)<br> Call CrystalTable.SetPrivateData(3, rsDateDiff3)