How can I split a snapfile (.snp)

  • Thread starter Thread starter Frank Bradford via AccessMonster.com
  • Start date Start date
F

Frank Bradford via AccessMonster.com

Is there a snapfile editor or any other tool that will let me split a
snapfile into separate files?

I'm generating invoices to many people using the SendObject function. The
result comes out as a single snapfile. Each invoice starts on a new page
(it may be multiple pages). If I can break the report apart into separate
files, I can send just the portion that applies to each person.

Thanks in advance...fab
 
AFAIK, there's no such tool.

You'll need to run a loop that generates each snapshot separately.
 
This surprises me, Doug. Seems a "snapfile editor" is something others
would use and that somebody would have created by now. I thought this
approach was a quick and dirty way to get me operating immediately. I can
cope with creating my invoices in one file, then chopping that file up
manually on an interim basis. Phase II was to do as you suggested, but I
haven't researched it to see how to do this yet. I guess I better go to
phase II immediately!

Can you give me a rough idea how you loop on each record in a selected file?
I'll go research this right now. If I figure it out before you or anyone
else posts something here, I'll let you know.
Thanks in advance...fab
 
Frank Bradford via AccessMonster.com said:
Is there a snapfile editor or any other tool that will let me split a
snapfile into separate files?

I'm generating invoices to many people using the SendObject function. The
result comes out as a single snapfile. Each invoice starts on a new page
(it may be multiple pages). If I can break the report apart into separate
files, I can send just the portion that applies to each person.

Thanks in advance...fab

Print them with a PDF file driver and only send the pages you want to each PDF
file.
 
http://www.lebans.com/ReportUtilities.htm
Allows you to export report pages as EMF.

FWIW, Microsoft has sort of replaced snapshots with
Microsoft Office Document Images, which is a
equivalent format. The MODI object does allow you
to split a document into separate pages. MODI is
not integrated into the Access user interface the
way Snapshots are: you have to print the document
(to a MODI device driver) rather than using SendTo.
However, now that there is a Printer object for each
report, that is less effort than it would have been
earlier.


(david)
 
Back
Top