Thank you, DoubleD,
I solved the problem. It does work. My problem was that some subreports prompts were something like 'Company, Inc.'and the macro thought it were two values for a prompt while in fact it should be one. I changed that prompt to use another field.
Thank you, Dave for the prompt response([medal]). I realized that the macro should work in my case and the problem was that several prompts were using values with commas, e.g. 'Company, Inc.'. This likely confused my macro into thinking that there were two values passing to the prompt instead of...
Does anybody know how to pass prompt values to sub-reports or it's out of question when using macros? It looks like that 'OpenReport' method does not apply to sub-reports or it does but does not pass values to sub-reports or I am completely off the subject. Please, give me any idea on this...
Please, help!
I run macro to pass several values from the macro dialog to several reports and publish them as PDFs. Unfortunately, I could pass these values to only simple reports (objImpRep = objImpApp.OpenReport (strReport, strPromptValues)). If try to use this macro for reports with several...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.