Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Network Login
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
00891714
Message ID:
00891735
Views:
39
Hi Jose.

You can try this code in the INIT of your loginform. It hasn't been tested in a standalone environment but seems to work here.
LOCAL llReturn, luNet
llReturn = DODEFAULT()

IF llReturn AND ThisForm.txlUserID.TextBox.Enabled
	luNet = SYS(0)
	IF TYPE('luNet') # "N" AND RIGHT(luNet, 3) # "# 0"
		ThisForm.txlUserID.TextBox.Value = RIGHT(luNet, LEN(luNet) - ATC(" # ", luNet) - 2)
	ENDIF
ENDIF

RETURN llReturn
HTH

-Dan

>Is there any way to ask to Login Form suggest User ID based on the Network or Machine Login?
>
>Regards,
Previous
Reply
Map
View

Click here to load this message in the networking platform