How To…Create Query DataViews via Code

Question

“How can I create DADE QueryDataViews via code?”

Solution

The following example shows how to create a DADE datamodule that contains two query dataviews, customer/orders linked in a master/detail relationship.

Download: CreateDataModCustOrderLinkedDataViews.zip

Delphi code sample: