- VB,VBA
- 2009-03-17 - 更新:2014-05-28
Dim dbs As Database Dim rst As Recordset Dim strCriteria As String Set dbs = CurrentDb Set rst = dbs.OpenRecordset("住所テーブル", _ dbOpenDynaset) With rst strCriteria = "住所 Like '東京*'" .FindFirst strCriteria Do Until .NoMatch Debug.Print !ID, !氏名, !住所, !郵便番号 .FindNext strCriteria Loop .Close End With
2,422 views