Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print button doesn't respect FOR clause in REPORT NOWAIT
Message
From
05/07/2001 11:56:13
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00526994
Message ID:
00527015
Views:
36
Vlad,

Do you test your suggestions ?

NOWAIT clause causes REPORT command NOT to wait. So SET FILTER TO is
executed immediately after REPORT command. Even report window preview shows two lines!
You notice this easily if you run your changed progam.
My users like modeless reports.


>
>
>create cursor test ( test c(20) )
>insert into test values ( 'line 1' )
>insert into test values ( 'line 2' )
>create report TEST from TEST
><b>set filter to recno()=1</b>
>report form test preview nowait
><b>set filter to</b>
>
>
>HTH.
>
>>I encountered the following bugs using REPORT FOR ... NOWAIT command.
>>Those bugs are present in all Visual FoxPro versions.
>>
>>1. Clicking Print button in Preview windows causes GPF (VFP 5) or
>>exception error (VFP 7)
>>
>>2. In test program, if I comment out the line
>>
>>create report TEST from TEST
>>
>>clicking print button prints TWO lines!
>>
>>Is it possible to fix this so that Print button uses FOR condition ?
>>
>>Test program:
>>
>>
>>
>>create cursor test ( test c(20) )
>>insert into test values ( 'line 1' )
>>insert into test values ( 'line 2' )
>>create report TEST from TEST
>>report form test preview for recno()=1 nowait
>>
>>
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform