Need help formating date fields on forms in 4.5

Need help formating date fields on forms in 4.5

Post by Scott Porte » Wed, 09 Apr 1997 04:00:00



I am trying to help someone convert their database to handle Year 2000
dates. I changed the Picture of each date field to #[#]/#[#]/####. When
I enter a date like 4/8/1997 it displays in the table as 4/8/97, but if
I put in a date like 4/8/2010 it displays as 4/8/2010 in the table. All
of the forms that they have set up are only displaying 8 date characters
including the "/'s" (i.e 4/8/20 and 4/8/97). This is fine for the 1900
dates but it truncates the 2000 dates. I know that you can specify on a
report which format to display it in like mm/dd/yyyy or mm/dd/yy. Is
there a way to do this on a form. Most of their forms cannot be
reformated to accept a 10 character date because there simply isn't
enough room on the form.

Is there a solution or workaround that won't require a major reworking
of their 200+ forms?

Thanks for any suggestions!

 
 
 

Need help formating date fields on forms in 4.5

Post by Richard K Carte » Sun, 13 Apr 1997 04:00:00


: I am trying to help someone convert their database to handle Year 2000
: dates. I changed the Picture of each date field to #[#]/#[#]/####. When
: I enter a date like 4/8/1997 it displays in the table as 4/8/97, but if
: I put in a date like 4/8/2010 it displays as 4/8/2010 in the table. All
: of the forms that they have set up are only displaying 8 date characters
: including the "/'s" (i.e 4/8/20 and 4/8/97). This is fine for the 1900
: dates but it truncates the 2000 dates. I know that you can specify on a
: report which format to display it in like mm/dd/yyyy or mm/dd/yy. Is
: there a way to do this on a form. Most of their forms cannot be
: reformated to accept a 10 character date because there simply isn't
: enough room on the form.

The way you select a date format for a form is same way that you
select it for a report: right click, select the "..." and choose
a date format (I think you'll have to create your own custom format
for mm/dd/yyyy).

But if you're problem is finding room for the two extra characters,
I don't know what makes you think anyone can come with a way to fit
ten characters in the space of eight.  You can always make the font
smaller or narrower, if it's still readable; other than that, you'll
have to come up with some way to reduce the clutter on the form.
If you're using version 7, tabbed notebook pages might be a way
to cut the clutter.
--
=================================================================

=================================================================

 
 
 

1. Need help !!! Formating date field

Hi everybody... I created a standard dimension that has the field
initial_date. In AnalysisManager I changed, in its properties, the
datatype from DBTimeStamp to DATE. When I browse the data through
AnalysisManager I see the date in the format I want (here in Brazil
is: dd-mm-yyyy), but, when I see through a html page that I created in
Excell using PivotTableService, the data is showing like: yyyy-mm-dd
hh:mm:ss.

How do I fix it?

thanks a lot

Cristiane

2. Mail List gating.

3. Forms 4.5 - Date field of format HH24:MI

4. Treeview from MDB...

5. Help w/ Date field formating in WHERE clause

6. server hang... what's wrong?

7. Help - field order inside form - Pwin 4.5

8. Republishing...

9. Help! Problem with fields on form, PDOXWIN 4.5

10. Forms 4.5 problems - Need Help

11. Need HELP : Form 4.5 Alert and Trigger Problems for aircraft

12. help needed - Designer 2000, forms 4.5 generation

13. Need Help with Forms 4.5