Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't print Excel file created with COPY
Message
De
02/01/2014 14:07:50
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01591089
Message ID:
01591262
Vues:
92
>>>Try adding NOFILTER in your select statement and TYPE XL5. Also, did you verify that the file contains data?
>>
>>Changing to XL5 fixed the problem. I did not have to type NOFILTER. Thanks!
>>
>>Interesting - the XLS worked on my machine (Win 7), but not on the other (Windows Server 2008 R2 Standard).
>
>NOFILTER is a must in your situation because you're selecting all the columns and using a where condition. It may result in the filtered result.

While I agree with you about the use of NOFILTER (except I always use READWRITE) I don't think it's relevant to Yossi's problem. If the COPY TO didn't respect the filter condition (although, as Tore says, I expect that it always should) wouldn't the result be the entire source table, not just the filtered records?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform