Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable not found when hitting print button
Message
De
16/02/2011 17:32:10
 
 
À
14/02/2011 13:58:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01499836
Message ID:
01500453
Vues:
72
Rich,

Perhaps you have a user-defined function that is used in the report and this function may be changing work areas?

Luis


>Rich,
>
>this may be a bug I encountered in vfp6 and discussed with Alekzey T. from MS quit a bit.
>
>In older versions of vfp sometimes a race condition existed if an alias was closed and another table with the same alias is opened in the next lines. The table you want to open IS open, but with a weird vfp-forbidden alias - as can be verified stepping though all work areas and getting the alias() and dbf().
>
>This is definately fixed in vfp9 and needs a bit of wrapping code in your functions or methods for opening and closing tables otherwise - but verify first it really IS that sucker.
>
>Otherwise you could get a better grip on what the problem is with special logging or vars showing where the error occurs. Another insight by Aleksey was, the error won't happen if a variable with the same name as the alias is in scope - something you can probably only figure out reading the vfp-source...
>
>HTH
>
>thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform