473,387 Members | 3,821 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

BUG: deep hiding tables removes data from complex datatype fields

isladogs
455 Expert Mod 256MB
This isn't so much a question but information about an obscure bug in Access ...and a workround

Last year, a fellow Access developer reported this to me as I work extensively with what I call 'deep hidden' tables using property dbHiddenObject (MSysObjects Flags=1).

If a table containing data in attachment or multi value fields is 'deep hidden', the data APPEARS to be deleted from those fields. The data is NOT restored if the tables are returned to normal.

I hadn't experienced this issue as I never use MVF or attachment fields (nor would I ever recommend anyone else does so).
The developer concerned was panicking as a huge amount of complex data seemed to have been lost for ever

I tested this issue and confirmed it to be true.
However, I also checked the contents of the related deep hidden system tables (each beginning with f_...) and the actual complex data is still present. However the user tables seem to have become detached from these.

NOTE: By design, deep hidden system tables starting with f_ cannot normally be viewed either as a table or by using a query but there is a way of doing so which I used here as a check

Anyway, I found a workround to this bug by pure chance and the developer was able to retrieve the 'lost' data.

I decided to test the third complex datatype - column history in long text/memo fields - by adding an extra field to the same table. To my surprise, the attachment / MVF field data was immediately restored.
The column history field doesn't need to be populated - it just needs to exist.
Once that extra complex datatype field is added, deep hiding the table does NOT cause further 'loss of data' from the MVF/attachment fields.
I have absolutely no idea why it works however! Each complex datatype has its own distinct deep hidden system table (all with names starting f_) but these are not connected to each other in any way

Whilst it is unusual, to say the least, to use complex datatypes with deep hidden tables, it is a bug that will hopefully be easy for MS to fix.
I reported the bug to Microsoft about 6 months ago via Access User Voice and at another forum

MS have confirmed they can replicate both the bug and workround. It has been added to their jobs list but, as it isn't in any sense high priority, the fix will certainly not be implemented in the near future

In the meantime, if anyone is interested enough to look into this, what I'd really like to know is why the workround I discovered actually works.

For more info on the various types of system table, see my extended article: Purpose of system tables
Mar 10 '21 #1
2 2039
NeoPa
32,556 Expert Mod 16PB
You do like to get into the nitty-gritty of things.

Thanks for posting. Very interesting.
Mar 10 '21 #2
isladogs
455 Expert Mod 256MB
I do like to understand all the hidden depths, nooks & crannies of Access!
Mar 10 '21 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: pc_newbie | last post by:
HI, can i export all tables and data into a ms access file? thanks:)
6
by: luvdairish | last post by:
I tried posting a few times, but it hasn't shown up. Hope this one works. Problem: Having trouble hiding tables when page is loaded. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0...
1
by: Randy | last post by:
I have trying to figure out the above topic. Can someone help me with this? I need for staff to be able to go to a dialog box or a form and then be able to enter data in mutliple fields and...
5
by: Patrick.O.Ige | last post by:
Whats the best way to pass Data with hidden fields in asp.net. I want to capture a LOGON_USER(from an intranet using Windows Authentication)and then send the data to a table in the Database. Any...
0
by: bienwell | last post by:
Hi all, I have a data entry form in ASP.NET (Web development) which has some fields (field1,..., fieldN) , button ADD THIS RECORD, and button CANCEL. In button ADD THIS RECORD, I have VB.NET...
0
by: dave k | last post by:
I want to copy data from selected fields in a record on a tabular form (called 'ProductUpdate') to the next record when those two records have a common field - called 'BaseFund' . The selected...
3
by: FKlusmann | last post by:
I have inherited a big, messy table with duplicated data and empty fields consisting of Names (business, client, supplier, etc.), Addresses ( physical, mailing, shipping, billing), Orders ( Date,...
1
by: Dinesh Gupta | last post by:
i want to copy all tables and data in another system via lan i dont want to recreate tables in another system. please help me?
0
by: imanoob | last post by:
Hi Is there any way I can add my excel data to my existing MySql with tables and data?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.