Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bug in CR8 using CDO (CrystalDataObjects)

Status
Not open for further replies.

Gennady

Programmer
Nov 13, 2000
12
0
0
CA
Please, look for this simple example:

Dim as Object
Dim Rows as Variant

Set cdoRowSet = CreateObject("CrystalDataObject.CrystalComObject")
...
'Filling array Rows
...
cdoRowSet.AddRows Rows
CrystalTable.SetPrivateData 3, cdoRowSet

What's wrong? - Nothing. It's work in 99,9% cases. I use this schema more than year. But two days ago my program got stuck on flat place - "Automation error - Unspecified error"
cdoRowsSet coudn't eat one ,absolutly usual, record. I checked data types, values - everithing.
But I solved this problem simply by forming array Rows in reverse order !!!
If someone saw something like that - please, let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top