B
Brendan
Hi
My db used to work fine when the images were imbedded. I pulled them out as
the file was growing too large.
Now,
I have a db form which displays images associated with the part no.
The images are stored external to the db as .jpg files.
When the form opens, the following executes fine.
Private Sub Form_Current()
Me!PetID.SetFocus
Me!Pix.Picture = "C:\P\" & Me!PetID.Text & ".jpg"
.... and the correct pet picture displays.
When I rapidly change the records, I will get the Message Box which says
"importing // Cancel" to hang up
in the middle of the screen. It won't go away without a reboot. I get a
Visual Basic error msg
"Method 'Picture' of object '_Image' failed"
I suspect the images are loading asynchronously and don't keep up with the
request to change them.
Is this a possibility? If so, how can I force a wait, so the image is
loaded before the request to change records is processed?
If there are other possible causes, I'd be very interested.
Thanks.
Brendan.
My db used to work fine when the images were imbedded. I pulled them out as
the file was growing too large.
Now,
I have a db form which displays images associated with the part no.
The images are stored external to the db as .jpg files.
When the form opens, the following executes fine.
Private Sub Form_Current()
Me!PetID.SetFocus
Me!Pix.Picture = "C:\P\" & Me!PetID.Text & ".jpg"
.... and the correct pet picture displays.
When I rapidly change the records, I will get the Message Box which says
"importing // Cancel" to hang up
in the middle of the screen. It won't go away without a reboot. I get a
Visual Basic error msg
"Method 'Picture' of object '_Image' failed"
I suspect the images are loading asynchronously and don't keep up with the
request to change them.
Is this a possibility? If so, how can I force a wait, so the image is
loaded before the request to change records is processed?
If there are other possible causes, I'd be very interested.
Thanks.
Brendan.