Re: us date format
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Sat, 21 Jan 2006 20:16:17 -0500
"Marshall Barton" <marshbarton@xxxxxxxxxx> wrote in message
news:lbk5t15diurq2uo5i8do1majm8rsujmuag@xxxxxxxxxx
> Bob Wickham wrote:
>
> I don't know the context where Steve recommended using CLng,
> but the only reason I can think of is to drop the Time part
> of a date value. Not to say Steve didn't have something
> clever in mind, but I do not see how it can help in a
> situation inolving the Default Value.
I believe what Steve may have been suggesting is that you can use:
Me![PaymentDate].DefaultValue = CLng(Me![PaymentDate])
rather than
Me![PaymentDate].DefaultValue = "#" & Format$(Me![PaymentDate],
"yyyy-mm-dd") & "#"
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
.
- Follow-Ups:
- Re: us date format
- From: Marshall Barton
- Re: us date format
- From: Bob Wickham
- Re: us date format
- References:
- us date format
- From: Bob Wickham
- Re: us date format
- From: Marshall Barton
- Re: us date format
- From: Bob Wickham
- Re: us date format
- From: RoyVidar
- Re: us date format
- From: Bob Wickham
- Re: us date format
- From: RoyVidar
- Re: us date format
- From: Bob Wickham
- Re: us date format
- From: Marshall Barton
- us date format
- Prev by Date: Need Help in DLookup Function
- Next by Date: Re: Need Help in DLookup Function
- Previous by thread: Re: us date format
- Next by thread: Re: us date format
- Index(es):
Relevant Pages
|
Loading