"Rick Brandt" <(E-Mail Removed)> wrote in message
news

iySf.54651$(E-Mail Removed)...
>> correctly.
>> I need to distribute this application and need some way to force the
>> report page size to A4, regardless of client printer settings, so I
>> guess I need to do this programmatically.
>>
>> Am I correct in thinking that the different default page sizes are
>> the cause of this problem, and if so, is there a way of forcing the
>> default report format to A4 using VBA?
>>
>> Regards
>>
>> Robin
>
> The Export To RTF feature is severely flawed and is best only used for
> fairly simple tabular reports. What you are seeing is one of the mildest
> problems. Others include erroneous line-feeds, truncated text, entries
> report sections dropped, etc..
>
> Your specific problem is that the "Page Footer" in an Access report does
> not create a "Page Footer" in Word. It is just "text that comes after the
> other text". Combining that with the fact that Access uses larger
> line-spacing by default than Word does and you end up with extra space at
> the bottom.
>
> --
> I don't check the Email account attached
> to this message. Send instead to...
> RBrandt at Hunter dot com
>
>
I realise the limitations of rtf but I'm not sure this is 'flawed' - more
that rtf can only do certain things, and I have seen some strange effects,
particularly if subreports or text boxes are too close together - the text
can end up jumbled together. However, most limitations can be overcome by
careful layout of the report, choice of fonts and avoidance of formats that
are not supported in rtf (such as background colours and lines).
I'm pleased to say that my rtf version looks exactly the same as the Access
Report, in every way. Unfortunately this also includes pages formatted for
'Letter' rather than A4.
I need to use rtf because this presents the most portable and accessible
format for users. I want to use A4 because all users are in Europe and will
have A4 as their default. I just need a way of setting the report page size
to A4 in VBA.