What you described should work in a way that you can view the report for the 
selected records when these records are part of the search result and you 
select the Report button from the search results.
In case you want to make the report run via AL, you will need to form the 
qualification string for the records that the report should display. This 
qualification should get passed onto Open Window ( Window Type=report..) action.
Sample code can be obtained by viewing the active links that gets invoked when 
I click on print button from console or main forms.

Thanks & Regards
Girish

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Drew Shuller
Sent: 30 May 2013 02:17
To: [email protected]
Subject: Running a Report from the User Tool using workflow

**
Good morning everyone.
I designed a quick report for our techs where they can query for a record, 
select it, click the Report button, select the report definition, and print it. 
I had to put the report def on the PCs that need to run the report.

I would like to make this process more automated, where the user can select a 
record, either from a table on a Display-only form that lists the user's 
tickets, or from a query results list, or from the record itself, and click a 
button that runs an AL that displays the report to the Screen in an Open Window 
action.
I created a report in the Report Creator form and I selected this in the Open 
Window action. The AL runs the report, but on one hand, I get a blank screen 
when running it from a selected record, and on the other, when running it from 
a dislpayed record, it runs and displays the report for all records for that 
form.
How do I get the report to display only the record selected?
I'm doing this from a 7.5 user tool and right now, Crystal Reports or the Web 
is not an option.
Drew Shuller
JTF-Bravo
Soto Cano Air Base
Honduras
_ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to