Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set permission to forms

Status
Not open for further replies.

lasitha

Programmer
Jun 7, 2003
38
LK
Hi,

I have access application which contains different forms, some forms are bind with tables.I want to set permissions to those forms accoringly logging person.

ThankX,
Lasitha
 
I am attempting to create a permissions/security work around ... and I am running into some issues with checking the user id / login id. I have done some searching for explanations of the GetUserName API and I have not found them very helpful. If anyone has had to use GetUserName ... I would appreciate any info you can provide as to your experience with it. I would also entertain any other comments or suggestions for obtaining the user id to use in a variable for an If statement!
Thanks!
gwoman
 
If you don't have any Win9x box you may consider this:
myUserVariable = Environ("UserName")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top