Patty:
Your MID portion needs another argument, Mid needs the starting position and the number of characters, so try:
RecDate: CDate(Left (dbo_person, 4), & "-" & Mid (dbo_person, 2, 2) & "-" & Right(dbo_person, 2))
hth,
Steve Conklin
________________________________
> To: MS_Access_Professionals@yahoogroups.com
> From: MS_Access_Professionals@yahoogroups.com
> Date: Fri, 30 Jan 2015 08:02:12 -0800
> Subject: Re: [MS_AccessPros] Date question
>
>
>
> I typed the following but getting error message. Can you help me find
> problem?
>
> RecDate: CDate(Left (dbo_person, 4), & "-" & Mid (dbo_person, 2) & "-"
> & Right(dbo_person, 2))
>
> Error says the expression you entered has an invalid . (Dot) or !
> operator or invalid parenthesis
>
> Thank you so much
>
>
------------------------------------
------------------------------------
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MS_Access_Professionals/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/MS_Access_Professionals/join
(Yahoo! ID required)
<*> To change settings via email:
MS_Access_Professionals-digest@yahoogroups.com
MS_Access_Professionals-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
MS_Access_Professionals-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
Tidak ada komentar:
Posting Komentar