|
| Stamp Button? Why can't i show the exact Time? |
 |
Mon, 31 Mar 2008 15:00:42 -050 |
I'm able to produce the exact date - but for some reason i can't get the time
stamp to show the exact time. what am i doing wrong.
Please Help!
Step by step instructions would help!
Thanks,
|
| Post Reply
|
| Re: Stamp Button? Why can't i show the exact Time? |
 |
Tue, 1 Apr 2008 17:29:17 -0700 |
"Martin VanderDoes" <Martin@nationalbenefitadvisory.com> wrote
in message
news:mt$Lmn2kIHA.1688@news-server...
> I'm able to produce the exact date - but for some reason i can't get the
> time stamp to show the exact time. what am i doing wrong.
>
> Please Help!
>
> Step by step instructions would help!
How are you validating / testing the time stamp?
I don't see any way to get 100 percent accuracy but it would be within
miliseconds with the following:
Note, if the time stamp happens one milisecond before the click you will see
what appears to be a one second difference unless you analyze the
miliseconds as follows:
?time() // its only one step.
form.yourQuery.rowset.field["timestamped"].value = time(0)
form.yourQuery.rowset.save()
Greg Hill
|
| Post Reply
|
| Re: Stamp Button? Why can't i show the exact Time? |
 |
Thu, 03 Apr 2008 14:47:27 -050 |
Greg Hill Wrote:
>
> "Martin VanderDoes" <Martin@nationalbenefitadvisory.com>
wrote in message
> news:mt$Lmn2kIHA.1688@news-server...
> > I'm able to produce the exact date - but for some reason i can't get
the
> > time stamp to show the exact time. what am i doing wrong.
> >
> > Please Help!
> >
> > Step by step instructions would help!
>
> How are you validating / testing the time stamp?
>
> I don't see any way to get 100 percent accuracy but it would be within
> miliseconds with the following:
> Note, if the time stamp happens one milisecond before the click you will
see
> what appears to be a one second difference unless you analyze the
> miliseconds as follows:
>
> ?time() // its only one step.
> form.yourQuery.rowset.field["timestamped"].value = time(0)
> form.yourQuery.rowset.save()
>
> Greg Hill
>
>
Greg,
I am very new to Dbase. is there a way you could give me step by step
instructions on how to set up time stamp in a form. or show me in one of the
manuals the set by set procedure. i'm still very new to understanding on the
codes/commands- so could you give it to me with out all the code/commands.
thanks!
i hope this made sense?
|
| Post Reply
|
| Re: Stamp Button? Why can't i show the exact Time? |
 |
Thu, 3 Apr 2008 22:18:32 +0200 |
"Martin VanderDoes" wrote
>
> I am very new to Dbase. is there a way you could give me step by step
> instructions on how to set up time stamp in a form. or show me in one of
> the manuals the set by set procedure. i'm still very new to understanding
> on the codes/commands- so could you give it to me with out all the
> code/commands. thanks!
---------
Copy the code posted by Jean-Pierre Martel to a file named
"VanderDoes2.wfm"
and run it.
Then study the code in function PUSHBUTTON1_onClick.
function PUSHBUTTON1_onClick
Form.rowset.beginAppend()
Form.rowset.fields["timestamp1"].value = dateTime()
Form.rowset.next(0)
return
Roland
|
| Post Reply
|
|
|
|
|
|
|
|
|
|