Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 1st, 2003, 02:54 AM
quacka quacka is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 4 quacka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Updating a record with now() in access

Hi,

I am in the process of making a program which keeps tracks of bags we have coming in and out of work here.

I have basically got 3 columns in tables with Bag_id, In_Date, Out_date

I can get the In_date value to be auto inputted via default value field in the table structure. What I can't seem to do is to get the Out_date field to be updated in form every time a bag_id is entered in the Logout Bag form.

Can anyone point me to the right direction?

Reply With Quote
  #2  
Old October 3rd, 2003, 12:23 PM
don_sparko's Avatar
don_sparko don_sparko is offline
Digitally Challenged
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 280 don_sparko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 14 sec
Reputation Power: 6
give this a shot. this would just add a date as far as what it is right now() like you wanted but it uses the date() function. let me know if it works
Code:
insert into table1 (date_out) values (date());
__________________
My brain cells are like a storm trooper's armor: useless

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Updating a record with now() in access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT