Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App won't work after changing datbase key
Message
De
26/09/2001 12:53:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
App won't work after changing datbase key
Divers
Thread ID:
00561096
Message ID:
00561096
Vues:
66
I want to change the database key in my application, so I changed the metadbc.dbf record to reflect the new key and then changed the root dataenvironment to also use the new key. I can verify that all other dataenvironments for my business objects are picking up the new database key. However, when I run the application, after the logon prompt, It gives an error that I can trace to the oUserMgr.requery() method, at this line of code where lnRetVal is .F., giving an data mismatch error:

*--------------------------------------------
*-- If the parent's requery was a success
*-- Requery any children
*--------------------------------------------
IF lnRetVal = REQUERY_SUCCESS AND ;
This.lCascadeMessages AND tlDoNotRequeryChildren = .F.

If I set the root dataenvironment database key back to it's prior value the error does not occur.

I have complied and checked everything I know to check but still not able to know how to correct the problem. Anyone know what is not getting updated when changing the database key?

Thanks,

Gary Pike.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform