How To Locked A user

haidsm0a

New member
Local time
Today, 22:48
Joined
Dec 28, 2003
Messages
9
hi any body help me
i needed some code
i want a how to locked a user Account
if any user can't loging a log days the account is Automatic Locked aftere some days
any body help me
thanks
:confused:
 
If your database is on a network, I would suggest picking up the users network name. Match this against a table of users which will also include a date-logged-in field.
Then you could have a query or code which runs every time the database is open which checks the difference between their 2 dates (last-logged-in date and today). If the difference is greater than say 3 days (or whatever) then a message comes up and says they can't go any further and shuts the database.

I suppose you could have a status field as well that switches between yes/no and use that.

As you can tell, I thought up this just very quickly off the top of my head, and I'm not really awake yet!! but it'll give you an idea perhaps.

Col
 
yes My Dear Friend on The Network
if you have any code or Samples Please Send Me


Thanks
No any Body Help Me il stil Wait Mybe Any Body Help Me
Thanks:o
 
Re: Locked

haidsm0a said:
oh
i don't like this site very bad site
no any body help there
i think there no good programmar
Please used other site there good programmar
thanks

There are plenty of good programmers here, they don't answer on demand and you could have found the answer by using the search function. You just couldn't be bothered :rolleyes:
 
Locked

okay you know how many days i Post this topic a log days but can't give any body anser me
same topic post other site i recevied answer
so tis mean other site is good
thanks
 
It's an extended holiday period here and the weekend. Still since you found the answer elsewhere, I suggest you take your camels and stay there :rolleyes:
 
User Lock

Oh Very BAd no any body Help Me Really Very Bad
Her no Good Programmar
:eek:
 
Re: User Lock

haidsm0a said:
Oh Very BAd no any body Help Me Really Very Bad
Her no Good Programmar
:eek:

So you said previously

haidsm0a said:
oh
i don't like this site very bad site
no any body help there
i think there no good programmar
Please used other site there good programmar
http://www.utteraccess.com/index.phpwww.utteraccess.com/index.php

thanks

Even though Colin had replied with


ColinEssex said:
If your database is on a network, I would suggest picking up the users network name. Match this against a table of users which will also include a date-logged-in field.
Then you could have a query or code which runs every time the database is open which checks the difference between their 2 dates (last-logged-in date and today). If the difference is greater than say 3 days (or whatever) then a message comes up and says they can't go any further and shuts the database.

I suppose you could have a status field as well that switches between yes/no and use that.

As you can tell, I thought up this just very quickly off the top of my head, and I'm not really awake yet!! but it'll give you an idea perhaps.

Col


And I now reply with the only word that springs to mind

Tool
 
Locked

yes My dear Friend if you have nay code and samples pls give me thanks
;)
 
Re: Locked

haidsm0a said:
hi i needed some help any body help me
thanks:rolleyes:

Listen - either you want a reply or not.
I thought you said this site was bad and that utteraccess was better, why haven't you got a reply from them if they are so good?

The members of this forum are usually at work and do not have much time to spend waiting around for people to post problems. You request would have been answered if you were not so impatient. This only alienates the members here so they feel less inclined to help you. Plus as Rich said, many members are on extended holiday from the xmas/new year period.

Have you done a search yet? your problem may have been covered before.

Col
 

Users who are viewing this thread

Back
Top Bottom