DateTime InputMask

G

Guest

I have a datetime field on a form with a format of GeneralDate and an
InputMask of
90/90/0000\ 99:99:99\ >LL;0;

My users are just getting used to the idea of entering a time for this field
(we used to only store just the date) so I want them to see the time mask
everytime they are in the field

They can see it in all the following cases:
1. Adding new record
2. Editing an existing record where no datetime data exists
3. Editing an existing record where datetime exists and already
includes time

But they do NOT see the it in the following case:
1. Editing an existing record where datetime exists but does NOT
include time (only a date)

How can I get the input mask to show in this last case?

Thank you in advance for any feedback.

-- JKro
 
G

Guest

My suggestion: cheat. Build an update query to find the records with
the date but not the time stamp. Apply a time of 00:00:00 so that those
records will now come up with the input mask specification on your
forms/reports/stuff. There is probably a more complex or sophisticated
process but I'd need to know more about the application and what you're
trying to do.

Steve in Ohio
 

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