Bug 115885 - Incorrect order of field names after copying from an Access MDB file loaded in Base to calc (SDBC)
Summary: Incorrect order of field names after copying from an Access MDB file loaded i...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.4.5.1 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 14:52 UTC by Franz Markmeyer
Modified: 2018-04-27 07:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample files (578.97 KB, application/x-zip-compressed)
2018-02-21 11:42 UTC, Franz Markmeyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Franz Markmeyer 2018-02-20 14:52:55 UTC
Description:
The order of the columns is correct after copying from a Access (.mdb) database to a table. But the headers do not match the columns.

Steps to Reproduce:
1.Open the .mdb in Base and then a Table
2.Mark the whole table, then Copy
3.Paste in Calc 

Actual Results:  
Header5,Header8,Header1,Header7,Header6,Header3,Header4,Header2
Column1,Column2,Column3,Column4,Column5,Column6,Column7,Column8

Expected Results:
Header1,Header2,Header3,Header4,Header5,Header6,Header7,Header8
Column1,Column2,Column3,Column4,Column5,Column6,Column7,Column8


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 m_a_riosv 2018-02-20 18:09:53 UTC
Please attach a minimal sample file to test.
Comment 2 Franz Markmeyer 2018-02-21 11:42:36 UTC
Created attachment 140037 [details]
sample files

For the sample test i took the table "Artikelliste"
Comment 3 Buovjaga 2018-03-08 13:46:52 UTC
Needs SDBC data provider to test, so I am unable to.
Comment 4 Alex Thurgood 2018-04-27 06:40:15 UTC
@Franz : the problem we have with trying to reproduce this bug report is that this is dependent on someone in QA having :

- 32 bit Win OS or 64bit Win OS running a 32bit version of LibreOffice ;

and

- a 32bit installation of MSOffice that includes Access.

I'm afraid that there simply aren't many of us around (if any, currently) with such a setup.

The result is that this bug will probably never be confirmed, especially given that the current advice for users of 32bit-MDB files that were written with an old 32bit version of Access (Access97 and earlier) is to migrate that DB to a different database format), for example using UCanAccess (http://ucanaccess.sourceforge.net/site.html).
Comment 6 Alex Thurgood 2018-04-27 07:09:25 UTC
I tried to test the MDB file with UCanAccess 4.04 - unfortunately, it fails on attempting to connect to the MDB file with an "unsupported decoding" error:

"UCAExc:::4.0.4 Decoding not supported.  Please choose a CodecProvider which supports reading the current database encoding."

From the UCanAccess discussion forum, this appears to be linked to the incompatible use of certain query functions within Access that are not supported by UCanAccess, so I'm afraid it would appear that your only hope of being able to continue to use the MDB file is to migrate it via the most recent 32bit version of Access available and saving it in a more recent Acess format (such as accdb), then using 32bit ODBC to convert it to a different DB format.