I have a dataflex database on SQL server with alias and a lot of relations between tables.
The problem I had is when there are related tables in other related table.
For exemple. I have a product related with a producer and the producer is related to a city table.
To allow to do some reports on products coming from a city, I wanted to make a Dynamic join between the producer and the city and than another dynamic join between the product and this join.
If I use the Dynamic Join view, the first join is OK but when I try to do a new join with the table of product with the created join, there are problems:
Some times, the view doesn't show me that there is a join I can use as related table, sometimes well.
When the join seems to be OK and I do an "execute" to create it, there is a message error telling that it was an error in the creation of the SQL.
I solved the problem creating it with the dynamic SQL Views which allow to make a "View" with a restrict number of field, but I wanted to tell you the problem.
I make a suggestion : It would be interesting to make Dynamic AI table similar as a SQL view where only some fields were in the result. It would make the reporting easier for the customer. When we relate 3 tables of 100 or 200 fields, it will be difficullt to manage it in the future.
It's possible that it exists but I am new in Dynamic AI
Jacques