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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Argument Error When Pasting a Picture into a OLE Object Field

Status
Not open for further replies.

TOTCOM11

Programmer
Aug 5, 2003
199
US
I have a table with two fields. The first field is called "PictureID" and the second is called "Picture". I am trying to paste pictures into the field "Picture" from Adobe Photoshop. "Picture" is an OLE Object field and "PictureID" is an integer. I have been successful until now when I get the error message, "Invalid Argument". I looked it up in help and this is what I got:

Invalid argument. (Error 3001)
You tried to perform an operation that involves a routine in a DLL, and one of the arguments to the routine is invalid. Check your entry to make sure you have specified the correct arguments, and then try the operation again.

This error also occurs when you attempt to use mutually exclusive constants in an argument to a method, such as specifying both dbConsistent and dbInconsistent in the options argument to the OpenRecordset method.

I have successfully pasted in 91 pictures, but for some reason I cannot paste any more pictures. Is there some memory issue that I'm failing to take note of or can I not paste anymore into this field. I'm looking to paste about 500 pictures into this table. Someone please help me!

Thank you in advance,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top