linking image prob

bunji

Registered User.
Local time
Today, 08:16
Joined
Apr 26, 2005
Messages
124
I have created a form that with an image control called imageview with the following code.

Private Sub Form_Current()
Me.ImageView.Picture = Me.AlbumCover
End Sub

Albumcover is a text field containing the path of the bitmap.

All is fine unless i move to a new record in which i get an invalid use of null error on the code. Can someone help me remove this.

Thanks
 
Its ok i manage to solve it by saying that if it was null set the .picture to ""

However How can i trim or shrink the image to fit into the size of the image control?
 

Users who are viewing this thread

Back
Top Bottom