Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can we insert a picture in a memo
Message
 
 
À
03/04/2003 16:17:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00773557
Message ID:
00773819
Vues:
10
>I created Memo(binary) column and tried to copy a picture to it but it did not work. what I am doing wrong.

Here's one of the way it can be done.
lcBmpFile = GETFILE("BMP")
APPEND MEMO mymemo FROM (lcBmpFile ) OVERWRITE 
... 
lcNewBmpFile = "mybmp.bmp"
COPY MEMO mymemo TO (lcNewBmpFile)
You can also use FILETOSTR() with REPLACE() and STRTOFILE().

>
>If I get it to work, how I can create a Memo(Binary) column programaticaly, I know that M for memo what should I use for Memo(binary)?

Add NOCPTRANS] to the field definition.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform