Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ado & vfp
Message
De
16/05/2001 10:03:16
 
 
À
16/05/2001 00:24:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00507687
Message ID:
00507792
Vues:
10
>Hi,
>
>I'm writing an application that will call a COM that return a recordset as result. I need to use VFP to save the recordset into a table. Is there any quick method to do so?
>
>Ok, let me assume that I use the slowest method, i.e.
>- loop through each records in the recordset
>- add a new record to dbf
>- replace each value
>- update
>But I'm having problem accessing '.Value' for field with type adNumeric, I don't know what the problem is!
>
>Also, when I try to use Recordset's GetRows method, it will return error for some table, and it's error message is so general that I dunno what the problem is.
>
>Any expert with expeience on this?? Please help!!
>
>Thx!

GetRows() will choke on large result sets, besides VFP has a limit for the number of elements in an array. Either use VFPCOM as others suggest or consider doing your processing using the RS as is (depends on the kind of processing).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform