mmddyy Format Probelm

J

jutlaux

I am wanting a user input a date as mmddyy onto a form. So in my table
design I set the field up to have a format of mmddyy. To do a quick test and
make sure it worked I just went into the datasheet view of my table and typed
in the number 042008, but I get and error

"The value you entered isn't valid for this field.

For example, you may have entered text in a numeric field or a number that
is larger than the FieldSize setting permits."

If i type in 04/20/08 it accepts it and then converts it to 042008. What am
I missing so that the user can type in the date as mmddyy when I go and
create a form.
 
M

Maurice

The way you type it access will see it as a numerical value. Why not set a
input mask in the table fieldproperties of the field. Could be something
like: 00/00/0000
That way the users don't have to type in the dashes and you'll get the
output you want.

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top