Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / October 2005

Tip: Looking for answers? Try searching our database.

Date stamp when button clicked

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jhicsupt - 03 Oct 2005 16:33 GMT
Is there a way to put today's date in a field when a button is clicked?  I
have a button that will send an email.  When user clicks the button, then I
would like the current date to populate in the datesent field.

Fields:
    datesent
    cmdWelcome (when this command button is click, populate datesent)

Thanks in advance.
Charles - 03 Oct 2005 16:37 GMT
in the onclick event of cmdWelcome
code this:

     datesent = now()

CL

> Is there a way to put today's date in a field when a button is clicked?  I
> have a button that will send an email.  When user clicks the button, then
[quoted text clipped - 6 lines]
>
> Thanks in advance.
jhicsupt - 03 Oct 2005 16:50 GMT
Thanks, worked like a charm!

>in the onclick event of cmdWelcome
>code this:
[quoted text clipped - 8 lines]
>>
>> Thanks in advance.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.