I'm using vb6, cr7 (cpeaut32.dll), and Oracle 8. Crystal will always bomb once (-2147417848 Automation Error) when performing the following filtering on a NUMBER field:
Field Type
QUERY_TO_SID NUMBER
with the filter being set as:
sCriteria = sCriteria & "{TABLE1.QUERY_TO_SID} = 21"
If retried immediately it works great. Being able to successfully use the above criteria is very important because instead of returning 100,000 records back from Oracle, it may only send 2 records. The only way that I can get this to not bomb is to set the filter to:
sCriteria = sCriteria & "ToNumber({TABLE1.QUERY_TO_SID}) = 21"
but this will pass back the 100,000 records then perform the filtering, which is unacceptable.
Any thoughts?
Chris
Field Type
QUERY_TO_SID NUMBER
with the filter being set as:
sCriteria = sCriteria & "{TABLE1.QUERY_TO_SID} = 21"
If retried immediately it works great. Being able to successfully use the above criteria is very important because instead of returning 100,000 records back from Oracle, it may only send 2 records. The only way that I can get this to not bomb is to set the filter to:
sCriteria = sCriteria & "ToNumber({TABLE1.QUERY_TO_SID}) = 21"
but this will pass back the 100,000 records then perform the filtering, which is unacceptable.
Any thoughts?
Chris