Information générale
Catégorie:
Photos et traitement d'images
>>We have a list of file names in a table and are attempting to append the AutoCad DWG files into the corresponding general field. The problem is that the append general command opens AutCad for every file in the list. After about 20 copies of AutoCad being opened, the machines grinds to a halt...
>>
>>How can we append an AutoCad picture to a general field without AutoCad being opened?
>>
>
>You can't - by the nature of a General field, it fire the OLE server application each and every time you manipulate the General field's content. The solution is to use a binary memo field to hold the data, and extract it when you need it, putting it back into the memo field when you're finished manipulating it, or deleting the extracted file if no changes were made.
The reason we wanted to use the general field is that..
.. one user (the cad operator) could add the drawing to the data
.. while others, without AutoCad on their machine, could produce a report containing those pictures.
Is this still possible with the binary memo approach? How would I load the file into the memo - would this be a FileToStr() type operation? Are there any alternative approaches of getting a DWG onto a report that your aware of?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement