Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ousermgr.getalias() returns empty value
Message
De
31/07/2003 11:07:27
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
31/07/2003 08:09:33
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00815325
Message ID:
00815404
Vues:
11
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform