<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>accs2014</author_name>
  <author_url>https://blog.hatena.ne.jp/accs2014/</author_url>
  <blog_title>もう一度学ぶMS-Access</blog_title>
  <blog_url>https://www.accessdbstudy.net/</blog_url>
  <categories>
    <anon>Access Tips</anon>
  </categories>
  <description>漢字ひらがな数字が混在するようなフィールドであっても全角文字のみ受け付けたいという場合がありますが、その方法についてです。 右の画像は「所在地」列にて設定する例です。入力規則に以下のように記入しています。 LenB(StrConv([所在地],128))=LenB([所在地])LenB関数は文字列のバイト数を返す関数です。また、StrConv関数についてですが、文字列をStrConv関数（第2引数128）で変換することにより「全角文字は2バイト、半角文字は1バイト」と評価されます。一方、StrConv関数を経ずにLenB関数を用いた場合はすべての文字が2バイトと評価されます。Accessが通常…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.accessdbstudy.net%2Fentry%2F20081018%2Fp1&quot; title=&quot;全角文字のみ入力させる - もう一度学ぶMS-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/a/accs2014/20161119/20161119144515.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-10-18 00:00:00</published>
  <title>全角文字のみ入力させる</title>
  <type>rich</type>
  <url>https://www.accessdbstudy.net/entry/20081018/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
