A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Setting A Date



 
 
Thread Tools Display Modes
  #1  
Old April 6th, 2006, 11:34 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Setting A Date

Hello

I Have a form with a check box (job Completed) when this is set to true I
want the date in another field set to the date it was checked
  #2  
Old April 6th, 2006, 12:12 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Setting A Date

A little piece of code something like:

Sub [job Completed]_AfterUpdate()
If Me.[job Completed] = True Then
Me.txtDateField = Date
End If
End Sub
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access

"PhilipBenno" wrote in message
...
Hello

I Have a form with a check box (job Completed) when this is set to true I
want the date in another field set to the date it was checked



  #3  
Old April 6th, 2006, 01:03 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Setting A Date

Hello

Thanks for the response tried what you said ,access comes back with

Object doesn;t support the property or method, if i put in Now() it works
but puts
a time stamp after the date field

"PhilipBenno" wrote:

Hello

I Have a form with a check box (job Completed) when this is set to true I
want the date in another field set to the date it was checked

  #4  
Old April 12th, 2006, 11:51 AM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Setting A Date

You probably have a missing reference. Check out Doug Steele's web page:

http://www.accessmvp.com/DJSteele/Ac...nceErrors.html
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access

"PhilipBenno" wrote in message
...
Hello

Thanks for the response tried what you said ,access comes back with

Object doesn;t support the property or method, if i put in Now() it works
but puts
a time stamp after the date field

"PhilipBenno" wrote:

Hello

I Have a form with a check box (job Completed) when this is set to true

I
want the date in another field set to the date it was checked



 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
subforms to autopopulate from main form Dale Using Forms 3 March 7th, 2006 03:57 AM
Date Range and Average F/X Rate David General Discussion 0 June 23rd, 2005 02:26 PM
Setting up a date query Pearl Running & Setting Up Queries 2 May 9th, 2005 12:56 PM
Aggregating Date Data into Weeks and Quarters Roger Running & Setting Up Queries 3 July 11th, 2004 05:56 PM
Does date fall between two ranges? MR Worksheet Functions 4 January 14th, 2004 04:08 PM


All times are GMT +1. The time now is 12:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.