I have an application that goes through a list of Part #'s and inserts 
the Digital Picture into a table for each part for printing.

I know its not best practices so don't yell at me for doing it, but I 
did the best I could at the time.  I had been using a macro with the 
following;

GotoControl -> Path
RunCommand -> Copy
GotoControl ->Pic
Runcommand -> Insert Object
SendKeys -> %F%E^V{Enter}
GoToRecord->Next

This macro was being called by a function in a module that was looping 
through once for each part.

It had worked well until recently, we had a problem with the PC that 
was running the process each night and rebuilt it with a newer one.  
Now it hangs at the Send Keys command after the Insert Object Dialog is 
opened.

My goal is to do the equivalent of;
Insert Object
Create from File
Paste the file name from the clipboard or use the file name contained 
in the field "Path" for the current record.

Can somebody help me with the proper code to do this?

Thanks,

Brian Stenglein







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/q7folB/TM
--------------------------------------------------------------------~-> 


Please zip all files prior to uploading to Files section. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AccessDevelopers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to