If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Visual Basic > Vba

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-22-11, 07:19
Indumathi Kamaraj Indumathi Kamaraj is offline
Registered User
 
Join Date: Jun 2011
Posts: 6
Red face Vba

Hi friends,

Am doing Updation in the already existing tool which is created by another person.

My Updation is i have to display the login time in the form, so i have used "NOW" function to display the current time so when the users login the time gets display but when they exit and again login the current time gets display the first login time gets changed. so how can i keep the first log in time save and display in the form?

Regards,
Indu...

Last edited by Indumathi Kamaraj; 06-22-11 at 08:12.
Reply With Quote
  #2 (permalink)  
Old 07-18-11, 06:16
Sam76 Sam76 is offline
Registered User
 
Join Date: Jun 2005
Posts: 61
hi Indumathi Kamaraj

You Can Save The First Time to Login User in the dataBase

And when User Login U Chek if he had login before if yes then dont save and get the time else save it in this case that mean this is the first time the user login

I hope this will help you
good Luck ..
__________________
Sami Al Damiri ...
Reply With Quote
  #3 (permalink)  
Old 07-19-11, 01:50
Indumathi Kamaraj Indumathi Kamaraj is offline
Registered User
 
Join Date: Jun 2011
Posts: 6
Hi Good Morning..
Thanks for the reply...
All the user does't have access to the database only the administarator user id is saved in the database.

Thanks & Regards,
K.Indu..
Reply With Quote
  #4 (permalink)  
Old 07-19-11, 05:57
Sam76 Sam76 is offline
Registered User
 
Join Date: Jun 2005
Posts: 61
hi ,
how the users get the data in forms i they dont have access on data base ?!!!!
__________________
Sami Al Damiri ...
Reply With Quote
  #5 (permalink)  
Old 07-19-11, 08:37
Indumathi Kamaraj Indumathi Kamaraj is offline
Registered User
 
Join Date: Jun 2011
Posts: 6
Hi
Yes they dont have access to the database, only the administrator can access the database.
LateLoginLabel.Caption = rsdata.Fields("LoginTime").Value
I updated this code in the existing coding which wil replace the "LateLogin" into login time in the MainForm but i did't get it. I dont know where actually am doing the mistake.

Thanks & Regards,
K.Indu...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On