Importing problem- Access 2000

bdj

Registered User.
Local time
Today, 17:05
Joined
Oct 22, 2002
Messages
21
I am having difficulty in importing records to a database which although it was created some time ago has not been brought into operation because of problems.

We are now at the stage where we would like to use it but testing has shown that there is a flaw in the importing/exporting procedures.

I feel that it is because the developer did not create a single primary key field in the subform. Instead he has created a unique record by making six separate fields part of the primary field (these are the column headings where the background is pink in the attached spreadsheet).

The yellow entries are the records that are lost;. I have also included the records close to them to show that there are many similarities but they are all different in one field or other,

I must admit that I thought that combining a number of fields into a primary key made the record unique but it doesnt seem to be working. Even moreso when you use the general date format as one of the fields where the seconds will almost always be different.

Please, please, please tell me where its gone wrong. Its too late to create a further autonumber field or suchlike because there are many hundreds of lines of VBA code that would all have to be amended and re-tested.

I really am at my wits end

Any help would be appreciated

Brian Jermain
Scotland
 

Attachments

bdj,

Did you solve this? I have a couple of thoughts but I'll not waste our time if you have succeeded. If not, let me know what Access version you are using also.
 
Unfortuntely I never did get to the bottom of it.

Brian
 
bdj,

Since I don't know what all you have been through, please forgive me if my comments include approaches you have already tried.

Well, on 2nd though, take a look at the mdb in Access97 I have attached. I don't see the loss of record 2 and there are 50 records both in this dB and in the spreadsheet. I had imported it as a csv (comma delimited).

Take a look and let me know what you think, we can go forward from there.
 

Attachments

Users who are viewing this thread

Back
Top Bottom