0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Accessで特定の手順を踏むと~TMPCLP※※のようなテーブルのゴミデータができてしまう

Last updated at Posted at 2024-07-12

概要

VBAでAccessのテーブル情報一覧をループすると『~TMPCLP※※』のような名前のテーブル情報が出てくることがたまにあります。

これはゴミデータで『データベースの最適化/修復』をすると消えます。
(『~TMPCLP※※』という名前のテーブルは存在しない)

『この手順を踏むとこのゴミデータができてしまう』というのを1つ見つけました。

特定の手順

  1. 別Accessファイルのリンクテーブルが張られている状態。
  2. VBEでVBAのコードに何か変更を加える。
    この時はまだ Ctrl + sで保存はしない
  3. リンクテーブルを解除。

要は…
ソースコードの編集を確定していない中途半端な状態で、リンクテーブルに対する操作をする
ことが条件のようです。

バージョン

Microsoft Windows [Version 10.0.22631.3880]
Microsoft Access for Microsoft 365 MSO (バージョン 2406 ビルド 16.0.17726.20078) 32 ビット

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?