Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COPY with memo
Message
De
13/11/2014 14:01:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01610927
Message ID:
01610931
Vues:
32
Another question:

The syntax
COPY TO Foo FIELDS EXCLUDE MemoFieldName
doesn't seem to be documented in the help file.

>>Hi All:
>>
>>How can I COPY to another table, FOO, but handle the memo fields in the following possible ways:
>>
>>1. Exclude any memo fields
>
>
>COPY TO Foo FIELDS EXCLUDE MemoFieldName
>
>
>
>>2. Convert the memo fields to character fields in the output table and just copy the first 255 characters
>
>
>SELECT FieldListWithoutMemo, CAST(MemoFIeld AS C(255)) AS MemoFieldName INTO CURSOR crsTest
>COPY TO Foo
>
>
>>
>>I realize I can do this with some programming, but is there a simpler way?
>>
>>Why do I want to do this?
>>
>>Because I want to COPY to a text file for a user and also provide the user with the structure of FOO that matches the text file. I've discovered that VFP ignores memo fields when COPYing to a text file.
>>
>>Thanks,
>>
>>Yossi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform