LoginSignup
0
2

More than 5 years have passed since last update.

FileMaker14から導入されたプレースホルダテキスト

Posted at

FileMaker Advent Calendar 2015の7日目

FileMaker14から導入されたプレースホルダテキスト

FileMaker Pro のプレースホルダテキスト

プレースホルダテキストを設定していない(従来どおりの)フィールド

151207-01.png

プレースホルダテキストを設定すると

インスペクタでプレースホルダテキストを設定すると
151207-02.png
こうなる
151207-03.png

いちいち指定するの面倒すぎる

面倒なことはFileMakerにやらせる

フィールドの名前取ってくる関数はGetFieldName関数

GetFieldName
目的
参照されているフィールドの完全修飾名を返します。
構文
GetFieldName ( フィールド名 )
引数
フィールド名 - フィールド オブジェクトまたはフィールド名を参照するテキスト式の評価

GetFieldName ( Self )

151207-04.png

なんか微妙

フィールド名"::"の後ろだけの方がよさげ
ということで

GetValue ( Substitute ( GetFieldName ( Self ) ; "::" ; "¶" ) ; 2 )

とすると
151207-05.png
となる

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