Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange behaviour
Message
From
07/07/2006 17:20:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Strange behaviour
Miscellaneous
Thread ID:
01134591
Message ID:
01134591
Views:
61
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?
Next
Reply
Map
View

Click here to load this message in the networking platform