Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to whatever.xls type xl5
Message
De
05/11/2003 10:48:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
05/11/2003 10:43:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00844710
Message ID:
00846506
Vues:
40
>Cetin
>
>Sorry for not seeing this sooner, You know how things get!!
>I'm not sure if this would work in every case. What I was doing was a sql pasthrough statement against as SQL Table then copy to type xls.. so say my statement was select thisfield,thatfield,bigfield from sometable.. copy to something.xls type xl5
>I was able to use this instead select thisfield,thatfield,alltrim(bigfield) and then copy it to xcel and it came out fine. I think that if your bigfield from sql has a whole lot of whitespace at the end of the text and excel cannot handle that many characters in a field. So in my case the alltrimed text portion was under whatever Excels limit is However if it wasn't I dont think this would work

No problem I know :)
Interesting just now I was working on another Excel thing.
I meant it 'might' work for a special set. Normally a memo field might not only have tons of data but might have CR, LF or CRLF in it as well. If it has then the problem begins. If working for you then don't fix:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform