13afa How do you make a date / time stamp while starting a new entry? - Page 2
Sign Up |  Live StatsLive Stats    Articles 37,317| Comments 177,153| Members 19,404, Newest immandeep| Online 512
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » How do you make a date / time stamp while starting a new entry?

How do you make a date / time stamp while starting a new entry?

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
Time stamp for modifying a record ibeetb Information Technology 3 28-Jul-2006 08:21 AM
Re: need date/time stamp on each line in memo field Maly Information Technology 1 28-Jul-2006 08:18 AM
How do I extract the AM/PM from a time date stamp? k Information Technology 3 28-Jul-2006 08:12 AM
Access failed to start correctly last time..... starting lingram Information Technology 2 19-Nov-2005 22:00 PM
Possible to archive tables in Access with Date/Time stamp? Ed Information Technology 1 11-Nov-2005 20:08 PM


Tags
date, entry, make, stamp, starting, time, while
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #10 (permalink)  
Old 28-Jul-2006, 08:30 AM
Shawn's Avatar Shawn
Guest
 
Posts: n/a
   
   
Re: How do you make a date / time stamp while starting a new entry

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
What I did (which hasn't worked):
1) Opened the form in Design Mode.
2) Went into the properties of my Textbox (End Time).
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/12379-how-do-you-make-date-time.html
3) Wnt into the Before Update box and click the "..."; which is beside the
[Event Procedure].
4) I simply copied your suggestion and pasted it in the code.
5) I suggested putting the "Me." suggested, but it didn't help. I
presented a drop-down of options, but I didn't do anything w/ it.

I'm sure that I have to create a Control & a name for the control. How?

"Rick B" wrote:

> You have to write code that runs on the before update event.
>
> Select "event procedure". Then click the triple dots to go into the vba
> script.
>
> Make your code something like...
>
> Private Sub Form_BeforeUpdate(Cancel As Integer)
> SomeControlName = Now()
> End Sub
>
>
>
>
> replace "SomeControlName" with the name of your control.
>
>
>
> --
> Rick B
>
>
>
> "Shawn" wrote in message
> news:69311261-0E1E-47E5-9B2C-CE6BE45D9F74@microsoft.com...
> > We're half way there. I have the Beginning date/time working. I tried
> > puting the "Now() in the "before update" event but it didn't work. I did
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=12379
> > this through the form and in the property for the Ending Date, hoping that
> > the date/time would show up after saving or exiting the newly created
> > event.
> > Was I supposed to do this somewhere within the Table? I couldn't find the
> > "before update" option within the table. Am I doing something wrong?
> >
> > "Rick B" wrote:
> >
> >> Just add a field to your table for the start and end date/time. Add
> >> these
> >> to your form. Personally, I would not make them visible.
> >>
> >> Set the default value on the start time to =Now()
> >> Or, you could use the "before insert" event and set the field "when the
> >> first character is typed in a new record". This would be best if you
> >> leave
> >> the form sitting open and at a blank record between calls.
> >>
> >>
> >> Use code to set the end time to Now() put the code in the "before
> >> update" event.
> >>
> >> I have not tested those events, so make sure it does what you expect.
> >>
> >> --
> >> Rick B
> >>
> >>
> >>
> >> "Shawn" wrote in message
> >> news:2E0222DB-1E4D-40D9-B5A2-19E66C82E78C@microsoft.com...
> >> > My database is used to log and journal technical calls for our product.
> >> > It
> >> > is important for me to keep a date and time for everytime I receive and
> >> > end a
> >> > call. Same thing with any journals that I have attached to that call
> >> > record.
> >> > How do I Make a Date / Time stamp appear when I start a new record
> >> > (when
> >> > clicking the 'New Record' button) and when I end the record (when
> >> > clicking
> >> > the 'Save Record' button)? The date / time can not change once it's
> >> > been
> >> > "stamped".
> >> > Thank you.
> >>
> >>
> >>

>
>
>





Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Losing My Religion: Why...
Today 15:33 PM
4 Replies, 95 Views
30 Day Amrit Vel 'a'...
Today 15:02 PM
38 Replies, 398 Views
What Do You Think of...
Today 14:33 PM
37 Replies, 649 Views
How does Sikhi help you...
Today 14:28 PM
18 Replies, 737 Views
Do you believe in...
Today 12:00 PM
184 Replies, 3,864 Views
Thought of the Moment!
Today 10:07 AM
109 Replies, 5,119 Views
Amrit
Today 09:17 AM
5 Replies, 357 Views
What I believe Hukam to...
Today 03:15 AM
13 Replies, 161 Views
Should SPN Keep the...
Today 02:02 AM
19 Replies, 574 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:46 AM
304 Replies, 7,487 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:18 AM
173 Replies, 4,392 Views
Student Compares Toilet...
Today 01:05 AM
1 Replies, 77 Views
Map shows world's 'most...
Yesterday 18:58 PM
16 Replies, 288 Views
BHOOTS (Ghosts) and...
Yesterday 13:08 PM
102 Replies, 13,894 Views
Why are There so Many...
Yesterday 10:23 AM
70 Replies, 5,073 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 16:38 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.36261 seconds with 32 queries
0