I would try to host the Crystal Report Viewer container on a VFP form (AlwaysOnBottom=.T) to see if it fixes the problem.
>
>I'm currently trying to host a Crystal Report viewer instance in the background screen of a VFP Application. I Host the Crystal Report Viewer in a container object and then add that to the screen. That appears to work fine. The issue I'm running into is that when i start processing keystrokes on any other forms, the enter key is lost to me. If I do the same thing in the VFP IDE The enter key is also lost.
>
>the Screen is a considered a VFP Form.
>
>the following is the code i run to add the object to the form
>
>_screen.AddObject("fred","crContainer")
>
>In the Init of crContainer I have the following code:
>
>local oReport, oCrystal
>oCrystal = CREATEOBJECT("CrystalRuntime.Application")
>oReport = oCrystal.OpenReport(This.Reportname)
>this.CRV.ReportSource = oReport
>This.Crv.Anchor = 15
>this.crv.ViewReport()
>
>CRV is an istance of OLEControl that hosts an instance of CrystalReports115.ActiveXReportViewer.1 (CR XI R2) as 'CRV'
>
>All other keys appear to be handled by my event handlers in vfp except the enter key. Any suggestions, clues or comments
>
>I have searched, with Google and MSDN for a solution and nothing seems to pop to hand.
--sb--