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

Are you using a view that has chosen a key to update on? Could be that the view is causing the problem. Just a guess...
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform