Shell to open multiple files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've got my shell command as below:
Call fHandleFile(Application.CurrentProject.path & "\Documents\Maps\" &
DLookup("[txtMapPath]", "qryMaps") & ".pdf", WIN_NORMAL)

Where qryMaps.txtMapPath displays the filename (ie. "District_01"). I can
select multiple districts, up to 32 to merge to various documents at the same
time. How can I open muliple pdf files using the shell method?

When I select two or more districts (with check boxes) only the first one's
pdf file will open.

Thanks,

matt
 
You sure? Look under the Window menu: I think you'll find that they're all
open in the same instance of Acrobat Reader. At least, that's what I found
when I just tried three consecutive invocations.
 
Not for me, i'm still only getting the first one.

Douglas J Steele said:
You sure? Look under the Window menu: I think you'll find that they're all
open in the same instance of Acrobat Reader. At least, that's what I found
when I just tried three consecutive invocations.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Matt said:
I've got my shell command as below:
Call fHandleFile(Application.CurrentProject.path & "\Documents\Maps\" &
DLookup("[txtMapPath]", "qryMaps") & ".pdf", WIN_NORMAL)

Where qryMaps.txtMapPath displays the filename (ie. "District_01"). I can
select multiple districts, up to 32 to merge to various documents at the same
time. How can I open muliple pdf files using the shell method?

When I select two or more districts (with check boxes) only the first one's
pdf file will open.

Thanks,

matt
 
Back
Top