PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > ms.sqlserver.server > OLE Objects from Access
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
OLE Objects from Access

Réponse
 
LinkBack Outils de la discussion
Vieux 18/07/2008, 15h42   #1
Rob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut OLE Objects from Access

Hello All,

I use SQL 2005 as the back end for an Access application. I have set up an
image field in SQL which translates to an OLE Object field in Access
(exactely what I want). I have placed an unbound object control on a form
that uses the OLE object field from the table. When I right-click and insert
object I have a problem. I can choose to create from file, browse and select
the file. I am also choosing to link to save space. When I click on okay
Access hangs and I have to stop the task. If I
set up a new table in Access with an OLE Object field and use it there are
no problems - only with SQL. Any suggestions?

Rob

  Réponse avec citation
Vieux 20/07/2008, 08h28   #2
Sylvain Lafontaine
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: OLE Objects from Access

> I have placed an unbound object control on a form that uses the OLE object
> field from the table


An unbound object control? I don't understand: unless you want to access a
local file on your machine or on the network, you should use a bound object
control. Also, you cannot choose to link to save space because other people
on the network might no be able to access the image. Finally, don't forget
that using an OLE Object field in Access will drag the performance down
seriously. Access 2007 is supposed to be less problematic than previous
versions of Access on this aspect but even with A2007, don't expect any
miracle in term of speed and space when using images with Access.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)


"Rob" <Rob@discussions.microsoft.com> wrote in message
news:17CEFA11-30A6-4988-9794-A2CAEFDC3DFF@microsoft.com...
> Hello All,
>
> I use SQL 2005 as the back end for an Access application. I have set up
> an
> image field in SQL which translates to an OLE Object field in Access
> (exactely what I want). I have placed an unbound object control on a form
> that uses the OLE object field from the table. When I right-click and
> insert
> object I have a problem. I can choose to create from file, browse and
> select
> the file. I am also choosing to link to save space. When I click on okay
> Access hangs and I have to stop the task. If I
> set up a new table in Access with an OLE Object field and use it there are
> no problems - only with SQL. Any suggestions?
>
> Rob
>



  Réponse avec citation
Vieux 21/07/2008, 16h40   #3
Rob
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: OLE Objects from Access

Sorry Sylvain,

I meant a bound object control. This control is bound to the field for the
picture. If I can't right-click and insert object and link then what is this
good for? I never had any problems in Access doing this with jpeg files.
They would show up in the control and since they were linked they did not
bring the speed down any. Now that I am using SQL for the back end the
program hangs. Any suggestions as to the best way to show jpegs as part of
the record?

Regards,

Rob

"Sylvain Lafontaine" wrote:

> > I have placed an unbound object control on a form that uses the OLE object
> > field from the table

>
> An unbound object control? I don't understand: unless you want to access a
> local file on your machine or on the network, you should use a bound object
> control. Also, you cannot choose to link to save space because other people
> on the network might no be able to access the image. Finally, don't forget
> that using an OLE Object field in Access will drag the performance down
> seriously. Access 2007 is supposed to be less problematic than previous
> versions of Access on this aspect but even with A2007, don't expect any
> miracle in term of speed and space when using images with Access.
>
> --
> Sylvain Lafontaine, ing.
> MVP - Technologies Virtual-PC
> E-mail: sylvain aei ca (fill the blanks, no spam please)
>
>
> "Rob" <Rob@discussions.microsoft.com> wrote in message
> news:17CEFA11-30A6-4988-9794-A2CAEFDC3DFF@microsoft.com...
> > Hello All,
> >
> > I use SQL 2005 as the back end for an Access application. I have set up
> > an
> > image field in SQL which translates to an OLE Object field in Access
> > (exactely what I want). I have placed an unbound object control on a form
> > that uses the OLE object field from the table. When I right-click and
> > insert
> > object I have a problem. I can choose to create from file, browse and
> > select
> > the file. I am also choosing to link to save space. When I click on okay
> > Access hangs and I have to stop the task. If I
> > set up a new table in Access with an OLE Object field and use it there are
> > no problems - only with SQL. Any suggestions?
> >
> > Rob
> >

>
>
>

  Réponse avec citation
Vieux 21/07/2008, 19h06   #4
Sylvain Lafontaine
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: OLE Objects from Access

Nope. The manipulation of images under Access if fully bugged on many
(most?) installations and using an ODBC linked tables often make things
worse. For example, on my machine, unless I transfert the image via the
clipboard, I see nothing but an icon about the type of the image.

I suppose that there is a problem in your case with the program associated
with the display of the images. By changing the association of jpegs with
another type of program (in Windows), it's possible that you might solve
your problem.

Many people don't use this control because of the multiple problems
associated with it and instead will use something else dbpix from Ammara ($)
or will use the unbound object control and load the image into the control
using VBA code.

--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)


"Rob" <Rob@discussions.microsoft.com> wrote in message
news:3365822D-658A-48FB-A19F-8FB426334041@microsoft.com...
> Sorry Sylvain,
>
> I meant a bound object control. This control is bound to the field for
> the
> picture. If I can't right-click and insert object and link then what is
> this
> good for? I never had any problems in Access doing this with jpeg files.
> They would show up in the control and since they were linked they did not
> bring the speed down any. Now that I am using SQL for the back end the
> program hangs. Any suggestions as to the best way to show jpegs as part
> of
> the record?
>
> Regards,
>
> Rob
>
> "Sylvain Lafontaine" wrote:
>
>> > I have placed an unbound object control on a form that uses the OLE
>> > object
>> > field from the table

>>
>> An unbound object control? I don't understand: unless you want to access
>> a
>> local file on your machine or on the network, you should use a bound
>> object
>> control. Also, you cannot choose to link to save space because other
>> people
>> on the network might no be able to access the image. Finally, don't
>> forget
>> that using an OLE Object field in Access will drag the performance down
>> seriously. Access 2007 is supposed to be less problematic than previous
>> versions of Access on this aspect but even with A2007, don't expect any
>> miracle in term of speed and space when using images with Access.
>>
>> --
>> Sylvain Lafontaine, ing.
>> MVP - Technologies Virtual-PC
>> E-mail: sylvain aei ca (fill the blanks, no spam please)
>>
>>
>> "Rob" <Rob@discussions.microsoft.com> wrote in message
>> news:17CEFA11-30A6-4988-9794-A2CAEFDC3DFF@microsoft.com...
>> > Hello All,
>> >
>> > I use SQL 2005 as the back end for an Access application. I have set
>> > up
>> > an
>> > image field in SQL which translates to an OLE Object field in Access
>> > (exactely what I want). I have placed an unbound object control on a
>> > form
>> > that uses the OLE object field from the table. When I right-click and
>> > insert
>> > object I have a problem. I can choose to create from file, browse and
>> > select
>> > the file. I am also choosing to link to save space. When I click on
>> > okay
>> > Access hangs and I have to stop the task. If I
>> > set up a new table in Access with an OLE Object field and use it there
>> > are
>> > no problems - only with SQL. Any suggestions?
>> >
>> > Rob
>> >

>>
>>
>>



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h03.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12727 seconds with 12 queries