Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - How do I change a MEMO field to a CHARACTER fiel
Message
De
15/05/1997 08:12:16
 
 
À
14/05/1997 22:54:19
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00032148
Message ID:
00032401
Vues:
33
>>I have a table and I need to transfer the memo fields to character
>>base fields. I do not want to loose any information.
>>How do I change a MEMO field to a CHARACTER field?
>The only way to assure of no data loss would be to create a child dbf with multiple records. I would do something like...
>
>create a dbf with an id field and a char 80 field
>set memowidth to 80
>select olddbf
>scan
>store memlines(olddbf.memo) to linecount
> store id to m.id
> for i=1 to linecount
> store mline(olddbf.memo,i) to m.charfield
> insert into newdbf from memvar
>endfor
>endscan

thanks Larry for the help..rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform