My project is using VB6, Crystal Reports 8 and SQL Server 2000. I am creating and updating a Temp Table thru VB, then connecting the Temp Table to my report using OCX, Active Data and SetTablePrivateData. This works OK!
However, I want to apply Filter and Sort after connecting report to the Temp Table. For example:
CR1.SortFields(0) = +{##BHPCD6A6586.Contract}
I receive the error that "This field name is not known". The field is valid in the Temp Table, so I assume that CR is choking on the Temp Table part of the Sort.
Can Sorts/Filters be applied like this when using Active Data reporting?
However, I want to apply Filter and Sort after connecting report to the Temp Table. For example:
CR1.SortFields(0) = +{##BHPCD6A6586.Contract}
I receive the error that "This field name is not known". The field is valid in the Temp Table, so I assume that CR is choking on the Temp Table part of the Sort.
Can Sorts/Filters be applied like this when using Active Data reporting?