Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
If i don't run the FoxyPreviewer.
report form (cRptName) to printer prompt preview noconsole nodialog
everything is fine.
>>after loReport.RunReport()
>>i did loReport = null
>>didn't help me.
>>even i DO FOXYPREVIEWER.APP WITH "Release"
>>also didn't help.
>>
>
>
>You didn't answer on my first question. Are you sure the problem is in the previewer?
>
>>
>>
>>
>>>>I am running a report
>>>>
>>>>cAlias = "tmp"
>>>>cRptName = "forecast"
>>>>
>>>>LOCAL loReport AS "PreviewHelper" OF "FoxyPreviewer.App"
>>>>loReport = CREATEOBJECT("PreviewHelper")
>>>>loReport.AddReport(cRptName, "to printer prompt preview noconsole", cAlias)
>>>>loReport.RunReport()
>>>>
>>>>
>>>>this report is run in a form whose
>>>>DataSession = 2
>>>>ShowWindow= 1
>>>>
>>>>Everything is fine except that when i close the form the files were opened in forms private datasession are still there with the name Unknown(2).
>>>>Why the files are not closed in this data session even the datasession is set to private in form?
>>>
>>>Have you isolated the problem to be previewer? In other words, if you comment out this code, you don't have the same problem? Also, just in case, have you tried adding loReport = null
>>>release loReport
>>>
>>>after you finished?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement