G
Guest
I am trying to save each record in a form, call it frmData, as a separate pdf
file with a name corresponding to a field on the master form. The purpose is
put pdf data on a web site with each pdf record accessible as a separate file.
Without getting into detail, I do this:
From the master form- I rename frmData to match field on master, say FieldName
Open form FieldName
SendKeys "%(f)pa~%(s)" to print to adobe
Close form FieldName
Rename FieldName back to frmData
Goto next record on master from (source of next Fieldname)
Loop until last record
My problem is that it works fine on my computer (w2000 access 2000) but on
one user's computer, (xp, w2003), it will print the first 10 or so records,
then cycle all the way to the end withou printing any more files. Is there a
better way to do this? If not, do I have to do something different for
Access 2003?
file with a name corresponding to a field on the master form. The purpose is
put pdf data on a web site with each pdf record accessible as a separate file.
Without getting into detail, I do this:
From the master form- I rename frmData to match field on master, say FieldName
Open form FieldName
SendKeys "%(f)pa~%(s)" to print to adobe
Close form FieldName
Rename FieldName back to frmData
Goto next record on master from (source of next Fieldname)
Loop until last record
My problem is that it works fine on my computer (w2000 access 2000) but on
one user's computer, (xp, w2003), it will print the first 10 or so records,
then cycle all the way to the end withou printing any more files. Is there a
better way to do this? If not, do I have to do something different for
Access 2003?