closing the program

mikela

Registered User.
Local time
Today, 08:18
Joined
Nov 23, 2007
Messages
70
Hello Again!

Another question I've got about access, is how I can know when a user closes the program, is there any way to know it?

Not closing a form, but closing the whole application!

Thanks again!
 
yes I do, but not using anything about access security...
Is just a form, where the user enters the credentials, and then I create a cookie with the info I need.

I'd like to delete the cookie when the user closes the form.
 
Im not sure i understand your what you're doing a cookie is created on ones computer so that if he/she is to return to that program/site etc.. then essentially their details will be remembered. What your suggesting is that when the user enter their details you save it but as soon as he/she leaves the db it is deleted? sorry to be a pain im just trying to get a feel for what your doing so i or someone else can tell you the best way to do what your trying to do!
 
No worries!

So what i'm trying to do is keep information from one form to another. I know of two ways right now of doing it.

According to the user who has done the log in, some information is displayed and some not...

So:
1st method: passing the information of the user from form to form throuhg text boxes and labels (basically is employeeId, which can be in a text box no visible), but i get the information from one form to another that is what i need.
Forms!MyForm2!MyTextBox.Text="employeeId"

2n method: keeping the information in a cookie, so i can have it in every form, when i need it. The problem is to destroy the cookie when the user close the application.
 

Users who are viewing this thread

Back
Top Bottom