Solved

Cannot format field in report in date format

Posted on 2013-10-22
2
467 Views
Last Modified: 2013-10-22
I use a create table query to create a table from data in a form.
Two of the fields are date fields on the form, but when the table is created, these fields are stored in number format in the table. Then when I create a report from the table, the numbers are displayed in the report and I cannot format it in date format. There are only options to format as other variants of the number but not as a date.
Can anyone help please.
0
Comment
Question by:Fritz Paul
2 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 39590812
In the textbox controls, just set the Format property to yyyy-mm-dd or similar (just manually type that into the format property).

It should automatically format the numbers to dates for you.
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 39590857
What SQL are you using to create the make-table?  Dates are actually stored as double precision numbers, so I can see how they might translate to a numeric field in  a make-table.  You might try explicitly typing those fields, something like:

SELECT Field1, Field2, cDate(yourTable.Field3) as Field3
INTO yourNewTable
FROM yourFormQuery
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now