Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Developer Application VBA Error

Status
Not open for further replies.

d1novak

Instructor
Jul 21, 2003
27
US
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] <> &quot;&quot; Then
Me!Invoice.Picture = &quot;c:\ADT\Invoices\&quot; & Me![CompanyName] & &quot;.jpg&quot;
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 &quot;File format not supported&quot; or &quot;File may be to large Change to gif or bmp&quot;.

Why does it work in access but not as an application?

Little Help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top