Hi,
We have a bug / strange behavior, that I could not understand.
So we have added one str field to PSAActivityEstimates table.
We just assign the value to it with "On_Inserting" event. Nothing special.
PSAActivityEstimates table is part of the ProjWBSEstimatesView View, which is one of the datasources of ProjForecastListPage form. Main datasource on the form is ProjForecastUnion View
So, the problem is that, if we have 2 or more records in PSAActivityEstimates for the same ActivityID and if the new Value isn't empty, then we are getting those lines several times.
This new field is only in table, view, and Form's grid.
It is not used anywhere in the query, in any range, group by or similar.
I can see this problem from SQL studio too.
For example, if I open PSAActivityEstimates table with browser and I assign the values manually to new field and run the Select statement like below it displays 4 lines instead of 2.
select * from ProjForecastUnion
join ProjWBSEstimatesView
on ProjForecastUnion.ACTIVITYNUMBER = ProjWBSEstimatesView.ACTIVITYNUMBER
where ProjForecastUnion.ACTIVITYNUMBER = 'xxx'
What can be going wrong?
Thanks.