Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report not behaving
Message
From
06/07/2009 12:49:31
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01409764
Message ID:
01410322
Views:
44
Chris -
Well you learn something new everyday (hopefully). SET COVERAGE is a new one for me. It revealed (at least it appears ) that the mainform is being refreshed during the report run. There is a control on the form that resets focus to the TIP cursor when it is refreshed. Hence, there is the problem. Whoda guessed? But when I cleaned up the code to leave the cursor where it started, the problem was solved.
Thanks!


>Hi Don,
>
>can you enable coverage logging to see if there's any code in the report:
>
>SELECT correctCursor
>SET COVERAGE TO log
>REPORT FORM...
>SET COVERAGE TO
>
>
>>What is really strange is this: If the cursor is located on any of the controls directly on the form when the report is run it will error.
>
>Does the table have any index expression, filter expressions, etc. Leaving a textbox could trigger validiation and index update code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform