Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Based Login - Vusual MaxFrame
Message
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00402778
Message ID:
00403216
Views:
11
><>
>That makes sense.
>
>BTW, I tested again and realized that my method worked as well. What I did was write a littlke subroutine which goes to the user table to return the full name of the current user, which I preferred. The subroutine knows which datasession to go if development or production mode. But I like your suggestion much better and I will scrap mine. I was not too familiar with oUser.GetPProp() yet and I did not mean to reinvent the wheel. Thanks to you.
>
>Evelyn

Evelyn,
GetPProp() is a common method to all VMP baseclasses. It's used as a wrapper function to return any Protected property value (and there are a lot in VMP).

As for the name, you can add a property to your CusUser subclass to hold the name and add code to the AfterUserLogin method to populate it. The record pointer is still on the appropriate record at this point. I had to do this recently in an app.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform