General information
Category:
The Mere Mortals Framework
Title:
App won't work after changing datbase key
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only