Solved

Y2K Issue w/ VB 6 & Access 97

Posted on 1998-11-19
1
178 Views
Last Modified: 2013-12-25
I have created a VB 6.0 app using the Access 8.0 Object Library to handle data transactions with an Access 97 database.  One of the transactions involves the TransferDatabase method, where I import a dBaseIV file into the Access 97 database.  In the dBaseIV file, the date fields are stored with the century indicator in the form, mm/dd/yyyy.  However, after I execute the TransferDatabase method, the dates are displayed in the new Access 97 table as mm/dd/yy.  

Question 1:  Are the dates merely displayed as mm/dd/yy but stored as mm/dd/yyyy?
Question 2:  Does Access 97 use windowing to determine the century indicator?  (i.e., if I append these records to another table where the format of the date fields is mm/dd/yyyy, will Access window to determine which century the year is in?)

Question 3:  How can I transfer the dBaseIV file so that the dates are initially stored as mm/dd/yyyy?

I appreciate your time and attention to this matter.
0
Comment
Question by:dfhaines
1 Comment
 

Accepted Solution

by:
Coates earned 200 total points
Comment Utility
Ive found sometimes that access follows the regional settings of the PC, no matter what formatting is applied to them.
I think they may still be stored as dd/mm/yyyy, put the regional settings may cause them to be displayed otherwise.
Give this a try
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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

10 Experts available now in Live!

Get 1:1 Help Now