Solved

Y2K Issue w/ VB 6 & Access 97

Posted on 1998-11-19
1
179 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
ID: 1497726
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

920 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

15 Experts available now in Live!

Get 1:1 Help Now