How To…Search Available Dataviews

Question

“How do I search the available dataviews created in DADE for a specific one?”

Solution

Use the TppDataView.Description property to find the name of each dataview and locate the one you need.  Start by accessing the datamodule using the daGetDataModule routine.  Next loop through each dataview in the TppDataModule.DataViews list to find the desired dataview.

Download: SearchDataviewsByName.zip

Sample Delphi code: