Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この問題が発生しました。ユーザーがテキストフィールドに情報を入力したときにグリッドの結果をフィルタリングしたいと思います。
実際には、テキスト フィールド、グリッド (DBGrid コントロール)、およびデータ コントロールがありますが、テキスト フィールドが挿入されたグリッドをフィルター処理する方法がわかりません。
RecordSourceDataControlのプロパティをクエリに設定できます。何かのようなもの
RecordSource
MyDataControl.RecordSource="Select * From MyTable Where MyTable.SomeField=" & txtFilter.Text MyDataControl.Refresh MyDbGrid.Refresh