I have a form in Access XP that on one tab has a picture. the source of that picture is refreshed by clicking a button. Which uses the onclick procedure:
Private Sub LoadInvoice_CB_Click()
If Me![CompanyName] <> "" Then
Me!Invoice.Picture = "c:\ADT\Invoices\" & Me![CompanyName] & ".jpg"
End If
End Sub
In the invoices folder There are scanned invoices named exactly as the company name.
this works great in Access. When I used the Package wizard with Developer Edition, I get an error when clicking the load invoice button. That reads "File format not supported" or "File may be to large Change to gif or bmp".
Why does it work in access but not as an application?
Little Help?
Private Sub LoadInvoice_CB_Click()
If Me![CompanyName] <> "" Then
Me!Invoice.Picture = "c:\ADT\Invoices\" & Me![CompanyName] & ".jpg"
End If
End Sub
In the invoices folder There are scanned invoices named exactly as the company name.
this works great in Access. When I used the Package wizard with Developer Edition, I get an error when clicking the load invoice button. That reads "File format not supported" or "File may be to large Change to gif or bmp".
Why does it work in access but not as an application?
Little Help?