Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Y2K Issue w/ VB 6 & Access 97

Posted on 1998-11-19
1
Medium Priority
?
186 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 400 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

877 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