Shape の正式文法

これは、shape コマンドを作成するための正式な文法です。

  • 必須の文法用語は、山かっこ ("<>") で区切られたテキスト文字列です。

  • 省略可能な用語は、角かっこ ("[ ]") で区切られています。

  • 代替形式は、パイプ ("|") で示されます。

  • 繰り返しの代替形式は、省略記号 ("...") で示されます。

  • alpha は、英字の文字列を示します。

  • digit は、数字の文字列を示します。

  • unicode-digit は、Unicode 数字の文字列を示します。

その他の用語はすべてリテラルです。

期間 定義
<shape-command> SHAPE [<table-exp> [[AS] <alias>]][<shape-action>]
<table-exp> {<provider-command-text>} |

(<shape-command>) |

TABLE <quoted-name> |

<quoted-name>
<shape-action> APPEND <aliased-field-list> |

COMPUTE <aliased-field-list> [BY <field-list>]
<aliased-field-list> <aliased-field> [, <aliased-field...>]
<aliased-field> <field-exp> [[AS] <alias>]
<field-exp> (<relation-exp>) |

<calculated-exp> |

<aggregate-exp> |

<new-exp>
<relation_exp> <table-exp> [[AS] <alias>]

RELATE <relation-cond-list>
<relation-cond-list> <relation-cond> [, <relation-cond>...]
<relation-cond> <field-name> TO <child-ref>
<child-ref> <field-name> |

PARAMETER <param-ref>
<param-ref> <number>
<field-list> <field-name> [, <field-name>]
<aggregate-exp> SUM(<qualified-field-name>) |

AVG(<qualified-field-name>) |

MIN(<qualified-field-name>) |

MAX(<qualified-field-name>) |

COUNT(<qualified-alias> | <qualified-name>) |

STDEV(<qualified-field-name>) |

ANY(<qualified-field-name>)
<calculated-exp> CALC(<expression>)
<qualified-field-name> <alias>.[<alias>...]<field-name>
<alias> <quoted-name>
<field-name> <quoted-name> [[AS] <alias>]
<quoted-name> "<string>" |

'<string>' |

[<string>] |

<name>
<qualified-name> alias[.alias...]
<name> alpha [ alpha | digit | _ | # | : | ...]
<number> digit [digit...]
<new-exp> NEW <field-type> [(<number> [, <number>])]
<field-type> OLE DB または ADO データ型。
<string> unicode-char [unicode-char...]
<式 (expression)> オペランドが同一行の CALC 以外の他の列である Visual Basic for Applications 式。

参照

階層レコードセット内の行にアクセスする
データ シェイプの概要
データ シェイプに必要なプロバイダー
Shape の APPEND 句
一般的な Shape コマンド
Shape COMPUTE 句
Visual Basic for Applications の関数