Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ousermgr.getalias() returns empty value
Message
From
31/07/2003 11:07:27
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
31/07/2003 08:09:33
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00815325
Message ID:
00815404
Views:
10
Hello Nerissa,
It would appear that oUserMgr doesn't have an instantiated data environment at runtime.

I would suggest adding
SET STEP ON
RETURN DODEFAULT()
in oUserMgr's CreateDataEnvironment(), and stepping through it to see what's happening.

---J

>Everytime I want to update our live environment with my changes in the test, I always copy the modified class libraries. Compile the project with "All Files" and everything seems to be working properly.
>
>But last night, my boss couldn't even login after updating my modified class libraries. What is so strange is that the error is from ousermgr.requery(). I debug the program (starting at the click() of the OK button in the login form) and I found that the getalias() of this bizobj returns an empty value. Therefore, loDataAccess = This.GetDataAccessObject(tcAlias) code doesn't make loDataAccess an object. So in the code that follows,
>IF lnRetVal = REQUERY_SUCCESS AND ;
> This.lCascadeMessages AND tlDoNotRequeryChildren = .F.
>
>lnRetval is still .F. that gives an error Operator type mismatch. It is really strange for me because I don't change cusermgr. What could be the reason for not getting the alias if in the builder window of cusermgr, I can see v_userlogin view.
>
>Thanks a lot for any help.
>
>Nerissa
Previous
Reply
Map
View

Click here to load this message in the networking platform