In this case, you must position the current record pointer back to a valid record.
この場合は、カレント レコードを参照するポインタを有効なレコードに戻す必要があります。
Suppose that you are using the ADO Find method to find the first occurrence of a last name in an Employees table. You could construct the criteria argument as in the following example, which moves the current record pointer to the first record in which an employee's last name is Buchanan. Note that the string literal Buchanan is enclosed in single quotation marks and the entire string comprising the criteria argument must also be enclosed in double quotation marks ().
たとえば、ADO の Find メソッドを使って [社員] テーブルで社員の名前を検索するとします。引数 criteria を次のように記述すると、カレント レコードを参照するポインタが、加藤 という姓を持つ最初の社員のレコードに移ります。加藤 というリテラル文字列を一重引用符で囲み、引数 criteria を形成する文字列全体をニ重引用符 () で囲みます。
The location of the current record pointer determines the BOF and EOF return values.
カレント レコードを参照するポインタの位置に応じて、BOF プロパティおよび EOF プロパティで取得される値が決まります。
The location of the current record pointer determines the BOF and EOF return values.
カレント レコードを参照するポインタの位置により、BOF および EOF の戻り値が決まります。
The location of the current record pointer determines the BOF and EOF return values.
BOF プロパティおよび EOF プロパティの戻り値は、カレント レコード ポインタの場所によって決まります。
This example uses the LastModified property to move the current record pointer to both a record that has been modified and a newly created record.
この例では、LastModified プロパティを使用して、カレント レコードを参照するポインタを、変更したレコードおよび新しく作成したレコードの両方に移動します。
If a record matching the criteria isn't located, the current record pointer is unknown, and the NoMatch property is set to True.
条件を満たすレコードが検出されない場合、カレント レコードを参照するポインタは不明となり、 NoMatch プロパティが True に設定されます。
If a record matching the criteria isn't located, the current record pointer is unknown, and the NoMatch property is set to True. If recordset contains more than one record that satisfies the criteria, FindFirst locates the first occurrence, FindNext locates the next occurrence, and so on.
条件を満たすレコードが検出されない場合、カレント レコードを参照するポインタは不明となり、NoMatch プロパティが True に設定されます。recordset に条件を満たすレコードが複数含まれている場合の検出対象は、FindFirst では最初に出現したもの、FindNext では次に出現したもの、などとなります。
Indicates that the current record pointer is at BOF (that is, the BOF property is True).
現在のレコード ポインタが BOF にあることを示します (BOF プロパティが True です)。
Indicates that the current record pointer is at EOF (that is, the EOF property is True).
現在のレコード ポインタが EOF にあることを示します (EOF プロパティが True です)。
If a record matching the criteria isn't located, the current record pointer is unknown, and the NoMatch property is set to True. If recordset contains more than one record that satisfies the criteria, FindFirst locates the first occurrence, FindNext locates the next occurrence, and so on.
抽出条件に一致するレコードが見つからない場合、カレント レコード ポインタは不明になり、NoMatch プロパティが True に設定されます。抽出条件を満たすレコードが recordset 内に複数存在する場合は、FindFirst で最初の一致を検索し、FindNext で次の一致を検索します。
The current record of a newly created clone is originally set to the first record. The current record pointer in a cloned Recordset is not synchronized with the original or vice versa. You can navigate independently in each Recordset.
新規に作成された複製の現在のレコードは、当初は最初のレコードに設定されます。複製の Recordset の現在のレコードのポインタは、複製元の Recordset とは同期しません。また、その逆も同様です。各 Recordset 内を別々に移動できます。
You can use the AbsolutePosition property to position the current record pointer to a specific record based on its ordinal position in a dynaset- or snapshot-type Recordset2 object.
AbsolutePosition プロパティを使用すると、ダイナセット タイプまたはスナップショット タイプの Recordset2 オブジェクト内における順序位置に基づいて、カレント レコードを参照するポインタを特定のレコードに移動できます。