Re: Getting Date Only
- From: "Rick B" <Anonymous>
- Date: Tue, 26 Apr 2005 15:53:34 -0500
Sorry, you said after update for the FIELD, not the FORM.
--
Rick B
"Rick B" <Anonymous> wrote in message
news:%23VaM9hpSFHA.1160@xxxxxxxxxxxxxxxxxxxxxxx
> AFTER update fires AFTER you have updated (saved) the record.
>
> Do it in the BEFORE update evnet, and it should be,,,
>
> dteDatedClosed = Date()
>
>
>
>
> --
> Rick B
>
>
>
> "CyndyG" <CyndyG@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:111DD283-05BF-44A5-9562-0C7DC01766CB@xxxxxxxxxxxxxxxx
> > I can not get the date to appear in a field automatically after a
certain
> > event occurs. Here is the code:
> >
> > AfterUpdate for strRequestStatus Field
> > If Me.strRequestStatus = "Closed" Then
> > dteDatedClosed = Date
> > End If
> >
> > I have tried on lost focus,
> > I have tried using Date(), have tried setiing the date to short date,or
> > formatting to mm/dd/yyyy.
> > At one point I clicked in the field the date showed up,but went away
when
> I
> > saved the form.
> >
> > This is the same code I used in another database using Now() instead
with
> no
> > problem.
> >
> >
> >
> >
> >
>
>
.
- References:
- Getting Date Only
- From: CyndyG
- Re: Getting Date Only
- From: Rick B
- Getting Date Only
- Prev by Date: Re: Getting Date Only
- Next by Date: Re: How to determine source of opened form
- Previous by thread: Re: Getting Date Only
- Next by thread: Re: Getting Date Only
- Index(es):
Relevant Pages
|