Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable not found
Message
 
 
À
19/02/2001 15:49:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00476708
Message ID:
00477438
Vues:
27
>Do you have this variable defined in your report (Report/Variables)?
>No
>
>Also how do you invoke this report?
>from within its own exe, its own procedure, with a report form command
>
>Is it on a form with a grid?
>No grid involved. The user selects from a list box which calls a completely new
>exe that runs a procedure to gather the data and then run the report.
>
>I had the similar problem, which is still unresolved. If I invoke report form from a form with a grid, which has focus, even if I put select myCursor just before report form command, it could not find variables. I guess, it reselects Grid.Alias
>
>I wonder if the list box control behaves the same way.

Hi Randy,

Did you find the cause of the problem?

Here is the test I did for the case of form with Grid. I insert select ReportAlias and Browse commands just before Report Form command. In the browse I see, what all necessary fields are presented. The funny thing is: that with Browse command all works fine. If I comment Browse, it produces "Variable not found" error. Try this test to see, if you have the same problem.

In my case we have main application, which calls another application. If this application uses Private DS, the problem goes away too. But I'm not 100% sure, this application has to have Private DS, besides, IMO, the problem should be fixed in the main application first.

HTH
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform