I created Real Estate program where there were a LOT of digital camera images (the properties were .jpgs)<br><br>By not having the images in the database it keeps the database size small.<br>I created a form and "loaded" each image at the time it was needed.<br>This also precluded each image was named the Real Estate ID<br>like so 299329.jpg<br>Or you could have the full path and image name in another field like ImageLocation = "F:\Images\299329.jpg"<br>-----------------------------<br>Private Sub Form_Current()<br> If Me![ID] <> 0 Then<br> Me!Image14.Picture = "p:\ViewPhotos\Photos\" & Me![ID] & ".jpg"<br> Label20.Caption = "File: " & " p:\ViewPhotos\Photos\" & Me![ID] & ".jpg"<br> End If<br> <br>End Sub<br>----------------------------------<br>This code was in the forms "On_current" event so everytime you move to a new record it loads an image<br>PS it is a tiny bit slow on a slow machine.<br><br><br> <p>DougP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.