Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gen type field
Message
De
07/12/2006 05:51:30
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
07/12/2006 05:14:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01175521
Message ID:
01175526
Vues:
10
Zaheed,

I wood recommend to store the path (or more sophisticated: copy the picture to a location bound to your data and link to that, use relative paths, then its closer to General without gerals problems.)

a general field may be altered using APPEND GENERAL like
lcPicture = GETPICT() &&dcAuftrag_Click_Ca1
APPEND GENERAL generalField FROM (lcPicture)
Note that a general field can not be updated via views. The negative on using paths strait away is that reports will not center imagtes that are bound to filenames. (IOW General fields will may centered.).

HTH
Agnes
>Hi,
>
>I've created a Gen type field to hold photographs. In Foxpro I can edit and insert object i.e a photograph and set the control source of the olebouncontrol1 to the Gen type field. In this way I can view the photographs to the records.
>
>My question is this. Is there a way I can allow users to insert the object(photo)to the Gen type field.
>
>The alternative thing is to create a character field and allow users to save the path to these fields and then run these to load up the photograph to each record. Bu thats not what I want.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform