Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ado & vfp
Message
From
16/05/2001 10:03:16
 
 
To
16/05/2001 00:24:49
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00507687
Message ID:
00507792
Views:
11
>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).
Previous
Reply
Map
View

Click here to load this message in the networking platform