You may want to verify that you have the correct paths in your metadbc. There have been several threads on this over the past few months and it always seems to boil down to a pathing issue.
Whatever it is, *something* is causing Requery() to fail miserably... usually it returns a numeric value, so returning a logical indicates b-a-d things! If all else fails, try the tried/true/longer/tedious-er method of stepping through the code.
---J
>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: