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  

check box populates field with today's date



 
 
Thread Tools Display Modes
  #1  
Old October 31st, 2007, 08:32 PM posted to microsoft.public.access.forms
johnnyvino
external usenet poster
 
Posts: 7
Default check box populates field with today's date

Can someone tell me how to make it so that when someone clicks a checkbox in
a DAP, it populates a specific field with today's date.

Thanks!
  #2  
Old October 31st, 2007, 09:32 PM posted to microsoft.public.access.forms
BrerGoose
external usenet poster
 
Posts: 20
Default check box populates field with today's date

In the AfterUpdate event of the checkbox....

Select Case Me!chkField
Case True
Me!TextField=Date
Case False
'Skip
End Select

--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


  #3  
Old October 31st, 2007, 09:43 PM posted to microsoft.public.access.forms
johnnyvino
external usenet poster
 
Posts: 7
Default check box populates field with today's date

I can't find an "AfterUpdate" field in the Element Properties. Where do I
look for that?

"BrerGoose" wrote:

In the AfterUpdate event of the checkbox....

Select Case Me!chkField
Case True
Me!TextField=Date
Case False
'Skip
End Select

--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


  #4  
Old October 31st, 2007, 11:06 PM posted to microsoft.public.access.forms
BrerGoose
external usenet poster
 
Posts: 20
Default check box populates field with today's date

AfterUpdate EVENT. Select the checkbox, open properties, go to events.
--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


"johnnyvino" wrote:

I can't find an "AfterUpdate" field in the Element Properties. Where do I
look for that?

"BrerGoose" wrote:

In the AfterUpdate event of the checkbox....

Select Case Me!chkField
Case True
Me!TextField=Date
Case False
'Skip
End Select

--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


  #5  
Old November 1st, 2007, 02:17 PM posted to microsoft.public.access.forms
johnnyvino
external usenet poster
 
Posts: 7
Default check box populates field with today's date

i'm sorry, but I'm not finding that tab. when I view properties, my options
are "Format, Data, Other, All"

The Event tab is available in the checkbox properties of Forms, but I'm
trying to build a DAP and that doesn't seem to be an available option.

"BrerGoose" wrote:

AfterUpdate EVENT. Select the checkbox, open properties, go to events.
--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


"johnnyvino" wrote:

I can't find an "AfterUpdate" field in the Element Properties. Where do I
look for that?

"BrerGoose" wrote:

In the AfterUpdate event of the checkbox....

Select Case Me!chkField
Case True
Me!TextField=Date
Case False
'Skip
End Select

--
BrerGoose
Moose-Tech Softwa
http://ourworld.compuserve.com/homep...e/MTS/Home.htm


 




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


All times are GMT +1. The time now is 03:43 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.