Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO Report
Message
 
 
À
15/05/2001 07:25:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00507194
Message ID:
00507196
Vues:
10
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

Well,

orecordset.movenext is not enough. You require to move record back in the main (dummy) cursor. Otherwise, if eof() reached in that cursor, report finished.

If you have a lot of reports, to simplify changes make a function that you will call from report.

>Can I make reports using ADO record sets?
>
>This is what I tried...
>
>in detail I put:
>
>orecordset.fields("mainkey").value
>
>In detail band on entry I put:
>orecordset.movenext
>
>Seemed to work but you need a table open. (perhaps I have to create a dummy table and insert the number of records in the recordset?)
>
>
>Is this a good way to do it or is there another better way.
>
>I suppose I could use the rstocursor.prg or whatever it's called to convert the recordset to a cursor but I have found this a little slow...
>
>I also know I can put all the values in an array with
>myarray=orecordset.getrows()
>
>But then I'm back to the same problem.
>
>The problem is I have fifty million reports out there I need to convert.
>
>Thanks for your suggestions.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform