は、ここで私は日付のすべての出現を見つけて、それを変更するために使用するVBスクリプトです - あなたはあなたの文字列または
Function update()
Dim DB As Database
Dim QD As QueryDef
Dim S As String
Set DB = CurrentDb
For Each QD In DB.QueryDefs
S = QD.SQL
If InStr(S, "2009") > 0 Then
S = Replace(S, "2009", "2010")
QD.SQL = S
End If
Next QD
MsgBox ("Done")
End Function
を見つけるためにそれを修正することができるかもしれ、あなたには、いくつかの(文書化されていない)システムテーブルを見ることができます。ナビゲーションペインで、ナビゲーションオプションを探し、「システムオブジェクトを表示」をオンにします。
MSysObjects
ID links to ObjectID in MSysQueries
Name is the object name
Type - 1,4 and 6 are tables, 5 is a query
MSysQueries
ObjectID links to ID in MSysObjects (multiple rows for each ObjectID)
Attribute
1 - query type
5 - Source data for the query
Name1 field (for Attribute 5 rows) is the source table or query
Expression field (for Attribute 5 rows) is the select statement for a Union query
この2つの表は、あなたが探している用語を見つけるのに役立ちます。
[検索と置換](http://www.rickworld.com/products.html#Find%20and%20Replace%209.0)のような検索ツールを使用することをお勧めします。 – Andre