p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Re: ReadRecords .... HELP!


Message #1 by Phil.Nolan@r... on Fri, 7 Jun 2002 16:44:07
Hi Shurong,

I am having the same problem - have ever rectifed the problem?

Phil.

>
>


I use ReadRecords() function to read records into the report. There is 
data in
the recordset.

But ..

It failed and there is no error Description except error number is
"-2147191245".

Does any one know WHY? I need any help or suggestions. Thanks.

Shurong


Message #2 by "Wong Tze Lun" <tzelun0502@l...> on Fri, 07 Jun 2002 22:44:43 +0700
Hi Phil ,
  How do u create the report at first place ? if u create using OLE sql server even if u pass the recordset to the readrecord() it
will not generate the report accordingly insteead when u create the reporrt that time used the ADO data source to create your report
either u used the sql string on reference to the table directly. i have been using vb6 and cr8.5 with RDC without any problem i do
face the problem when i used other method to create the reporrt in cr8.5 but when i chabge to the ADO data source it seem to be
workikng fine 

regards
tl wong  



_______________________________________________________
WIN a first class trip to Hawaii.  Live like the King of Rock and Roll
on the big Island. Enter Now!
http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes

  Return to Index