Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Works on one server but not another..?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01219390
Message ID:
01219544
Vues:
8
>I have a standalone VFP utility that does the following:
>
  • Opens database in current directory
  • Opens table from database
  • Loops through table and replaces a field conditionally with one of two values

>
>I have this utility included in an InstallShield package that gets launched during our upgrade process. When I test the utility on my network, as well as the InstallShield patch file, everything works completely as expected.
>
>When I run this InstallShield patch on the same data set on a specific Citrix server, I see the utility run, but it seems to have ignored the condition for which value to replace in the table field (i.e. every record contains the same value in this field). If I attempt to run the utility by itself on the Citrix box after the patch is done, then the field values are set properly!
>
>I know for a fact that the utility is being run in the correct location when launched from InstallShield, because I'm changing the current directory in the InstallScript prior to the executable launch. Additionally, all the records in the table are being modified in the current directory.
>
>This is one of the weirdest problems I've ever come across, so any guidance whatsoever would be appreciated.

Exactly what is "replaces a field conditionally"? Can you show us some code? Is it possible your conditions are relying on something that is different in the IS patch environment from elsewhere?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform