<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takalogpoint</author_name>
  <author_url>https://blog.hatena.ne.jp/takalogpoint/</author_url>
  <blog_title>日常～おまけ雑記～</blog_title>
  <blog_url>https://www.omake-zakki.com/</blog_url>
  <categories>
    <anon>ACCESS</anon>
  </categories>
  <description>テーブルデータの連番を1から振り直します。 注）オートナンバーのID(主キー)ではなく、 クエリで絞り込みした表に対して別の連番(カラム)に数値を1から順に振り直していきます。 大きなデータベースに対して各集合ごとの通し番号を設定したい場合に使用します。 ■使用する初期設定テーブル ID ＝ オートナンバー連番 ＝ 1から順にIDと同じ数値集合 ＝ 文字列&quot;A&quot;と&quot;B&quot;とするレベル ＝ ランダムな数値とする ※今回使用するテーブルの内容 ■上記テーブルに対して集合の値Aをクエリで抽出します クエリで集合の値Aを抽出して、レベル列を昇順で並べ替えをした状態から、連番列を1から連番に振りなおします…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.omake-zakki.com%2Fentry%2Fpc-accrenban&quot; title=&quot;テーブルの連番を振り直す方法｜VBA access - 日常～おまけ雑記～&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takalogpoint/20230116/20230116231314.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-01-16 23:18:31</published>
  <title>テーブルの連番を振り直す方法｜VBA access</title>
  <type>rich</type>
  <url>https://www.omake-zakki.com/entry/pc-accrenban</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
