L
Leslie Isaacs
Hello All
I am using A97 & Windows 2000.
I have four macros that each contains about 40 'Open Report' commands, each
with a particular 'condition', and with the View parameter for each set to
Print.
I need to convert all these to 'Open Report' commands, each with the same
'condition', to generate the corresponding report as a Snapshot file, with
the Output File parameter left blank so that it can be specified by the
user.
The condition for each command relates to the value in a corresponding
yes/no field in the current form - i.e. only print/output the report if the
corresponding value = True.
Can the conversion of all these commands be done automatically with VBA, or
must I go through them all manually?
Alternatively, it has occurred to me that the whole process could possibly
be done by a VBA function. Part of the difficulty I would have with this
would be cycling through all the possible reports - and all the
corresponding yes/no fields in the current form. Is this an avenue I should
go down, amd if so any help with the VBA would be extremely welcome!
Hope someone can help.
Many thanks
Leslie Isaacs
I am using A97 & Windows 2000.
I have four macros that each contains about 40 'Open Report' commands, each
with a particular 'condition', and with the View parameter for each set to
Print.
I need to convert all these to 'Open Report' commands, each with the same
'condition', to generate the corresponding report as a Snapshot file, with
the Output File parameter left blank so that it can be specified by the
user.
The condition for each command relates to the value in a corresponding
yes/no field in the current form - i.e. only print/output the report if the
corresponding value = True.
Can the conversion of all these commands be done automatically with VBA, or
must I go through them all manually?
Alternatively, it has occurred to me that the whole process could possibly
be done by a VBA function. Part of the difficulty I would have with this
would be cycling through all the possible reports - and all the
corresponding yes/no fields in the current form. Is this an avenue I should
go down, amd if so any help with the VBA would be extremely welcome!
Hope someone can help.
Many thanks
Leslie Isaacs