The Query Designer cannot be used to build hierarchical queries against the
shape provider. If you want to build a hierarchical query via the DE, you
can use the Query Designer for each separate query, and then use the
property pages on the data environment to specify the relationship between
the queries. The Query Designer is not able to talk directly to the
DataShape provider.
Steps to Reproduce Behavior
This sample uses a dsn named NWind that connects to the Nwind.MDB that comes with Visual Basic.
- Create a Standard EXE project in Visual Basic. Form1 is created
default.
- Add a data environment.
- For connection1 properties, set provider to MS Data Shape, and set
the data source to Nwind (you can just type the dsn name here).
- Click OK.
- Add a new command.
- For Command1 properties select SQL Statement, then click on SQL
Builder.
- Note that the Error messages above are returned.