Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable not found when zooming in preview mode
Message
 
À
02/03/2000 12:01:25
Bob Smith
Custom Data Services, Inc.
Mansfield, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00340641
Message ID:
00340957
Vues:
20
Bob,

I ran across a similar situation recently:

1. I was using a private variable from the calling routine referenced in the report

2. I was doing a REPORT FORM .... PREVIEW NOWAIT

The variable was there for the initial preview, but because of the nowait, the calling proc had finished and the variable gone out of scope by the time the print (or zoom) had to happen.

Reooving the NOWAIT clause fixed the problem (as would have widening the scope of the variable).

I'm guessing you're doing a PREVIEW...NOWAIT. If that's the case, then it's possible that the variables have gone out of scope by the time you zoom or print.

Cheers,

Andrew

>I have a report which prints fine and previews fine
>However when in preview mode when I click on the report
>to zoom in on it I get 'Variable not found ' rror for a field
>on the report. IF I remove this field I get it on the adjacent field
>and so on. I also get the same error when I try to print from
>preview mode. Whats wrong here ?


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform