Does
Forms with Grids and printing reports FAQ #15515 apply here?
>Here's a strange. The following code works as you would expect:
>
>select tblmaster.*,tbltotals.* ;
> FROM tblmaster ;
> INNER JOIN tbltotals ;
> ON tblmaster.int_id = tbltotals.int_id;
> ORDER BY tbltotals.highcount desc ;
> into cursor crsTempreport
>
>select crsTempreport
>*brow
>
>report form rptbusiestintersections range 1,1 to printer prompt preview noconsole nowait
>_screen.Visible = .f.
>select tblmaster
>
>
>however, if the commented line BROWSE is activated, the code fails with an error that suggests the cursor is no longer in the active workarea when the report is called. The specific message is that the first field of the report cannot be found. The code in question is contained in a menu.
>
>Any ideas as to what's at issue here?
--sb--