Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App won't work after changing datbase key
Message
From
26/09/2001 12:53:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
App won't work after changing datbase key
Miscellaneous
Thread ID:
00561096
Message ID:
00561096
Views:
65
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.
Next
Reply
Map
View

Click here to load this message in the networking platform