Need to Call a Print functionality using Apex Office print,on interactive report column - oracle-apex-5

Need to have a Print functionality in a Interactive Report using AOP plugin.
Apex office print works perfectly fine when I use a Button.
Steps: Create Dynamic Action On Button click, Action: APEX Office Print [AOP] - DA[Plugin]
write the SQL query to print the records in the AOP template PDF.
This works fine for me.
But my requirement is to have the Print Button on the Dashboard page.
1) Print can be used as a column in the Report.
2) Print can be a button on the Dashboard, which can check which record has been selected and needs to be printed taking the ID as a parameter.

Related

Oracle Forms Tab Detail

I am using Oracle Forms. I want to know how to determine which tab the user is on at run time.
For example: I have created four tabs in my canvas A,B,C,D. At run time, how do I get to know which tab is currently being accessed by the user?
With
Get_Item_Property(:system.cursor_Item, ITEM_CANVAS)
you can get the canvas name of the item. This will return the name of the tab control page. If you use the following command with this name:
GET_CANVAS_PROPERTY(canvas_name,TOPMOST_TAB_PAGE);
you will get the name of the tab that is activated at this moment

VB.Net application halted while printing crystal report in client environment

I am currently developing a vb.net application in VS 2005, with crystal report XI. I have come across a a problem where my application halted while printing reports. There is no error in my application, it's just that I can't click on any part/menu in the application while printing. The user opens the printing window form from the menu item, the form opens, he clicks on the 'print' button and it will print directly to his printer without preview. After a successful printing session, a text message box will display 'Printing success!'. Only then the user can continue click on other part/menu of the application. It would be troublesome during printing a large number pages of report, because the user have to wait all the pages finished printing only then they can continue to click on other menu of the system. Fro example, when I execute the printing window form (let's say form A), other posting form (Form B) becomes freeze. Below is my code for calling the report and directly printing to their printer.
my code snippet
I have to use simplex and duplex because the users requested the reports to be one-sided pages. My question is how to allow users to click on other menu/doing other posting with the system while printing those large number pages of reports?
Thanks for any help/input.
Turns out what I wanted was a background worker

Hide a button in SSRS pdf view but show in online view

I have a button in the SSRS report Report1. This buttons opens other report called DetailReport. In online view of the report for faster rendering the button on report1 opens the DetailReport. But when on pdf view the Button appears on the report, which is of no use.
I have found way to hide and show the entire page by passing parameter.
Using code for visiblity as :
=IIF(Parameters!ShowDetaiReport.Value=true,false,true)
But the button is shown or hidden both online and in pdf.
Is there any way to show button in the online view but hide it when I download pdf or word. Can i replace the Button with report itself when I download it.
FYI: I am using SSRS 2012
You can check to see what type of report is being rendered using the Globals!RenderFormat Built-in Field. You can either use .Name to check for a specific render format - such as PDF or Excel - or you can simply use .IsInteractive to check if the user can actually click things.
You can apply this check in the Button's Visibility -> Show or hide based on an expression property value as follows: =iif(Globals!RenderFormat.IsInteractive, False, True)
If you want to test this without exporting your reports, you can preview in Print Layout, which isn't interactive.

Cannot create MS sql stored procedure using SSMS

I am trying to use the current versions of SQL Server Management Studio with Microsoft SQL Server Express (64-bit) to create a Stored procedure.
I’m following the https://msdn.microsoft.com/en-us/library/ms345415.aspx guideline.
When I get to step 3 and right-click on “Stored Procedures” the popup menu I am presented with does not include the “New Stored Procedure” option. Instead, at the top of the list of options that are presented is the option “Stored procedure…” When I click on this I get the ASCI text block “Template Generated from Template Explorer” displayed.
What I was expecting was that the “Specify Values for Template Parameters” Query Editor Pane would have been displayed and that the data I entered into it would have been reflected in the “Template generated from Template Explorer” text block which would have been displayed next.
Can anyone tell me why the “Specify Values for Template Parameters” Query Editor Pane isn’t being displayed?
You can call that dialog by using the key combination Ctrl-Shift-M.
Most likely they are not showing this dialog automatically anymore, in order to let the user change the script first and then call the dialog when ready.
New query tab in CTRL+K,CTRL+X, you can use the combination.

How do I launch a Word VBA Application from a Form (not a document)?

I created a Word Application using VBA. At present, I launch it from the IDE associated with a particular document. When my app launches, I click a Command Button on a Form to begin processing my data.
Question: How do I launch this application directly from the Form? Perhaps I can fashion my Word document to look like my Form.
If you don't need a form to collect information from the user, you can run macros directly from Word. Go to the View Ribbon tab and click the Macros button on the far right (or press Alt-F8).