Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help! My CA's and SPT ignore the FetchSize Property
Message
From
26/03/2004 06:27:39
 
 
To
26/03/2004 04:56:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00889217
Message ID:
00889899
Views:
24

What you say confirms my fears. Is there any way around this without going to Asyncronous mode?

The same thing happens in VFP7 with SPT so the Cursor Adapters by themselves are not wrong.

Is there anywhere where I can get more info about this darn fetchsize?
Is it a Visual FoxPro problem or an ODBC problem?

This most certainly looks like a BUG, most noticable when the SQLServer dishes out the data for the first time. After that it ic cached and a bit faster.

Any ideas?


Sorry Bernard.

VFP ODBC have other problems,
but this is not a problem.

Yes, you can say this a bug because the Talk not show your FetchSize values,
but it is insignificant because:

With Syncronous mode you have a atomic process,
and this fetch MaxRecords rows.
If you set FetchSize = -1,1,100,1000,1000000 the process and speed not change.


On help is writted:
... and the remaining records will be fetched in blocks of 100 ...
this can be interpreted badly, because a block is a C cycle like this
-- foxpro equivalent metacode
for k=1 to fetchSize
  ....
  for column=1 to columnCount
     ODBCFetchColum
     ....
  next
next
Block is relative to the syncronous slice into the asyncronous process.

Then, ignore this false problem.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform