WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Date Input Mask

 
   Home -> Office other -> Getting Started RSS
Next:  Getting Started: Update Query  
Author Message
SITCFanTN

External


Since: Mar 29, 2007
Posts: 24



(Msg. 1) Posted: Thu Jul 24, 2008 12:13 pm
Post subject: Date Input Mask Add to elertz
Archived from groups: microsoft>public>access>gettingstarted (more info?)

I'm importing a large txt file into my table. The dates in the text file are
YYMMDD, for example 080615 or 080602. When I import the text file into my
table the date is dropped. I've used various imput masks in my table but the
dates are importing, can somebody help me with what the imput mask should be.
I've also used nothing and the data still didn't import. Thanks so much.
Back to top
Login to vote
boblarson

External


Since: Oct 07, 2007
Posts: 559



(Msg. 2) Posted: Thu Jul 24, 2008 12:16 pm
Post subject: RE: Date Input Mask Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Input masks have nothing to do with imports. They are for manual entry.
Your "dates" are not being recognized as dates. You might consider importing
as Text and then use an update query to move them to an actual date field.
--
Bob Larson
Access MVP
Access World Forums Administrator
Utter Access VIP

Tutorials at http://www.btabdevelopment.com

__________________________________


"SITCFanTN" wrote:

> I'm importing a large txt file into my table. The dates in the text file are
> YYMMDD, for example 080615 or 080602. When I import the text file into my
> table the date is dropped. I've used various imput masks in my table but the
> dates are importing, can somebody help me with what the imput mask should be.
> I've also used nothing and the data still didn't import. Thanks so much.
Back to top
Login to vote
John W. Vinson/MVP

External


Since: Jul 16, 2008
Posts: 152



(Msg. 3) Posted: Thu Jul 24, 2008 2:54 pm
Post subject: Re: Date Input Mask Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 24 Jul 2008 12:13:00 -0700, SITCFanTN
<SITCFanTN RemoveThis @discussions.microsoft.com> wrote:

>I'm importing a large txt file into my table. The dates in the text file are
>YYMMDD, for example 080615 or 080602. When I import the text file into my
>table the date is dropped. I've used various imput masks in my table but the
>dates are importing, can somebody help me with what the imput mask should be.
> I've also used nothing and the data still didn't import. Thanks so much.

Bob's on the money: this field isn't being recognized as a date.

I'd suggest linking to the text field (File... Get External Data...
Link) rather than importing it, and running an Append query. You can
convert the value to a date/time by appending a calculated field:

DateSerial(Left([textdate], 2), Mid([textdate], 3, 2),
Right([textdate], 2))

--

John W. Vinson/MVP
Back to top
Login to vote
Display posts from previous:   
       Home -> Office other -> Getting Started All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
 Office
  Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET