Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting Correct Data Type for Documents
Message
 
À
14/01/1999 09:39:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00175878
Message ID:
00175911
Vues:
26
Hi Jason,

>My question is what data type should I be using for the field Document_image? This is the field that will display the document for the user.

If you really want to store the document in there, it would be a general field. I personally avoid them, since you have little control over them and you can't get a document out of the general field.

I would store only the path and name of the document and use OLE automation or ShellExecute to launch the appropriate application. Or use a binary memo field and copy the file into this memo. When the user wants to add or view it, just copy it back into a temporary file and display that one.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform