Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Craig Boyd's GridExtras exporting blank rows
Message
 
 
To
26/10/2011 07:21:33
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01527395
Message ID:
01527400
Views:
110
Do you have empty rows in the CA cursor?

>
>I'm using Craig Boyd's GridExtras class to allow data to be exported to Excel. I'm adjusting the default code so that rather than just the data in a grid gets exported, but the data from a specified cursor which may or may not be tied to a grid.
>
>The data are getting exported, but so are lots of blank rows.
>
>This is the code that creates the excel file:
>
<snip>
>
>Stepping through this code shows that the m.loCursorAdapter.Alias has the correct data in it prior to the TABLEUPDATE(.T.,.T.,m.loCursorAdapter.Alias) and the return value is .T.
>
>So why should there be all these blank rows in the Excel file?
>
>I've never worked with cursoradapters before so if I need to provide more info, let me know.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform