2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【FileMaker】ケタ数分入力したら次に移動したい

Posted at

というお問い合わせをいただきました。
はい。
FileMaker11をお使いのようでしたが、こちらはFileMaker12からしか環境がないので、FileMaker12でサンプルを作りました。

「コード」フィールドに12桁の数字または文字列が入ったら、次のデータの「コード」に移動する、という動きです。

実装は、スクリプトトリガで12桁に達したら移動する、という感じになります。

ケタ数チェックのスクリプトを作成します。
12count_2.png
チェック後、12桁に達していたら、次の行へ移動してフィールドを「コード」にカーソルをおきます。

「コード」のスクリプトトリガとして、OnObjectModifyイベントにチェックスクリプトを設定します。
12count_1.png

実際の動きは、以下から確認してみてください。
https://youtu.be/GnkZxUyzGDc

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?