visual foxpro - COPY TO xxxx.xls TYPE XLS (VFP 8.0 SP1) -


i downloading table sql 2008 using vfp 8.0 (sp1) using command: copy xxx type xls of data in excel disappearing.

example, table in sql: cus(id int(4), cusnam varchar(35))

when issue following command @ vfp forms:

(a) copy xxx type fox2x [data display correctly following]

*id cusnam

1 abc

2 def*

(b) copy xxx type xls [2nd record disappear]

*id cusnam

1

2 def*

appreciate helps!

for testing, copy vfp directly table see if writes out correctly. can copy out there.. using view designer , connection, or manually controlling via like

nhandle = sqlconnect( "yourconnectionstringinfo" ) sqlexec( nhandle, "select * yoursqltable", "intolocalvfpcursor" ) select intolocalvfpcursor copy permanentlocalvfptable use permanentlocalvfptable browse sqldisconnect( nhandle ) 

in years of vfp / sql, don't ever recall such data loss. however, when doing dump excel, there limit of records 65535... max of older excel file format capacity never extended since.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -