Solved

Changing Text to Data automatically

Posted on 2000-03-01
1
158 Views
Last Modified: 2012-08-13
I have created a make table query , and within this query i have combined these three indivdidual fields cells days/month/years so that it is in one field cell.
The problem is this is in Text format and when run the make table query the date is still in text.
What i want to do is rather than having to manually change in the table design from text to date time format that i could do this automatically somehow via a macro or VB
0
Comment
Question by:job2cU
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
simonbennett earned 70 total points
ID: 2573379
Lets say your source table has 3 fields

Day  Month  Year

Your make table query should have a column like:

FullDate: =cdate(trim([Day]) & "/" & trim([Month]) & "/" & trim([Year]))

Which sould give the follwing result

Data: "01"  "11"   "2000"
Result: #01/11/2000#

HTH

Simon
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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…

623 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