Hook into Refresh Button..
How can I hook into the Refresh Button on an embeded report.
In my app i'm using ReportViewer and reports created aggainst TTX files, the data is passed to a the viewer at runtime, Currently if the user clicks the refresh button it has no affect, i'd like to handle re-fetching the data in some situations allowing the user to initiate this with the refresh button, this seems the most intuitive method, how should i be doing this, can seem to find a way.
Regards,
Graeme.
N.B. using CR10 Dev. Edition.
OK, I've upgraded to CRXI R2 Dev. Edition.
does this help, any suggestions welcome.
Graeme.
Similar Messages
-
I have a VGA adapter that I hooked into my MBA, but the picture is not projecting. What button do I press to project the image?
If you want to mirror the MBA screen, Press Command F1
This will toogle between extended desktop mode and mirror mode.
Regards,
Captfred -
SQL-tab / refresh button: does not take into account renamed constraint.
I discovered a small bug:
1) find or create a table with system generated constraint names (SYS_C007289)
2) open that table in SQL Developer (I'm using 3.0.04.34). On the constraints tab, there will be the SYS% constraints. On the SQL-tab, the constraints will be shown without a name (simply "not null" for example).
3) Return to the Constraints tab and use Actions / Constraints / Rename single to rename a constraint.
4) return to the SQL tab and press the Refresh button. Unexpectedly, the new constraint name is still not in the SQL!
5) close the entire window/tab for the table
6) re-open that table.
7) go to the SQL-tab: now the name of the constraint is in the code.
As shown above, the workaround is easy, so this is a very minor bug-let.Looks like you add an ActionListener to your button <next> every time yuou call buildGui() and, believe it or not, adding a listener more than once triggers additional events. Thus, it's okay on your first loop but on the second it now has 2 listeners and thus will skip 3 and go to four. After this it now has three listeners and will skip 4 and 5 and go to 6 etc, etc.
// in your buldGui() method
System.out.println("prints next");
frameContainer.add(next);
next.addActionListener(this);
System.out.println("it has already printed next");
exit.addActionListener(this);
frameContainer.add(exit); -
Is there any way to hook into the SQL report pagination process?
I have a SQL report (based on EMP) with a radiogroup row selector.
The scenario 1 and 2 are in place
1) When the employee row radio group is clicked the P900007_JOB the text item is populated with the JOB for the employee.
2) When the page is initially displayed or submitted via the button the first row’s radio group is programmatically clicked and therefore populates the additional job information in P900007_JOB
Info (radio Group) Employee No Name
(+) 7369 SMITH
() 7499 ALLEN
() 7521 WARD
P900007_JOB CLERK
1-3 Next>
Once the report has been displayed and the next or previous pagination is used then none of the radio groups will be selected and the data in the P900007_JOB text item will still display the job of the last selected employee row.
What I require is on pagination some sort of mechanism to either
a) Call the page_init() that should then set the first row as selected and populate the text item via the programmatic click. (preferred option)
b) OR blank out the additional text item P900007_JOB.
Is there any way to hook into the pagination process?
I have a work around – Set the ‘Enable Partial Page Refresh’ to ‘No’ but this means a full refresh every time the pagination is used.
Details of my page
Report Region (Based on EMP table) – radio group as a row selector
select APEX_ITEM.RADIOGROUP(1,EMPNO,'X21',null) CHECKRG, EMPNO,
ENAME,
JOB
from EMP
Report Attributes -
Report template :- P900007_ROWTEMPLATE (custom template see later)
Report Attributes Substitution :- id="emp_report" (used in page_init see later)
Enable Partial Page Refresh :- Yes
Columns – All columns are selected as show but job is left out of the template below.
P900007_JOB - Text item in report region (disabled does not save state). Populated with the employees job when the radio group is clicked.
Control region :- HTML region that just holds a button <GO> just to submit the page and redirect back to the same page.
P900007_ROWTEMPLATE (named column row template)
Row template 1
<tr style="cursor: hand; cursor: pointer;" onmouseover="row_mouse_over(this, 1)" onmouseout="row_mouse_out(this, 1)" #HIGHLIGHT_ROW# ">
<td class="t15data" onclick="selectRow('#JOB#');">#CHECKRG# </td>
<td class="t15data">#EMPNO# </td>
<td class="t15data">#ENAME# </td>
</tr>
Before rows
<table class="t15standard" summary="" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" >
<th class="t15header" #ALIGNMENT# >Info</th>
<th class="t15header" #ALIGNMENT# >Employee Number</th>
<th class="t15header" #ALIGNMENT# >Name</th>
After Rows
<tr>
<td colspan="99" class="t15afterrows">
<span class="left">#EXTERNAL_LINK##CSV_LINK#</span>
<table style="float:right;text-align:right;" summary="pagination">
#PAGINATION#</table>
</td>
</tr>
</table>
*Javascript in page Header*
<script src="#WORKSPACE_IMAGES#apex_show_hide_region.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
function selectRow(pJob)
/* console.log('pete got here!'+pJob)*/
$x('P900007_JOB').value =pJob;
/* Start Page init*/
function *page_init*()
/* Used to set radio groups on reports */
/*console.log('START pete got here!');*/
var is_checked = false;
var l_check = $x_FormItems($x('emp_report'), 'radio');
/*Loop and set flag if checked*/
for(var i=0,len=l_check.length;i<len;i++)
if(l_check.checked){
is_checked = true;
/*end loop*/
/*If none checked force a click*/
if(!is_checked){
/*no longer need as doing click below*/
l_check[0].checked=true;
/*Force a click on the first radio group - extra details should then be
populated*/
var l_click = l_check[0].click();
/* console.log('END pete got here!');*/
/*END page_init*/
// -->
</script>
*Application shared component.* – This fires a DB packaged procedure when the page is loaded.
P330_PART_NO_HIST
Process Point On load after Body region
Process Text show_hide_memory.part_no_history_details();
*Packaged Procedure* – This kicks off the page_init javascript in the header (earlier) to click on the radio group in the first row.
PROCEDURE part_no_history_details AS
BEGIN
htp.prn('<script type="text/javascript">' || CHR(10));
htp.prn('<!--' || CHR(10));
htp.prn('page_init();'|| CHR(10));
htp.prn('//-->' || CHR(10));
htp.prn('</script>' || CHR(10));
END part_no_history_details;
Thanks Pete
Edited by: Pete @ LSC on 26-Jan-2010 06:56Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
wwv_flow.g_flow_current_min_row
wwv_flow.g_flow_current_max_rows
wwv_flow.g_flow_current_rows_fetched
wwv_flow.g_request
Thanks Pete -
Is there any way to hook into the TextModel from ICompositionStyle?
When creating a new custom attribute in IAttrReport there is the ability to hook into the ICompositionStyle interface. But I don't see any way from there to see which TextIndex it is composing. Does anyone know if it's possible?
Anybody any ideas? Should I be looking down the route of using my own pagination buttons and adding my code to this?
There seems to be a routine $a_report that I can use for the pagination but I am finding it difficult to get the current first and last record values that I would need to pass. I've seen references to below in the form but when I'm using partial refresh they do not seem to change.
wwv_flow.g_flow_current_min_row
wwv_flow.g_flow_current_max_rows
wwv_flow.g_flow_current_rows_fetched
wwv_flow.g_request
Thanks Pete -
I couldn't find the option to choose on Firefox to view the latest version of web pages automatically each time I return. I've been needing to hit the refresh button.
You can make Firefox always reload a page by changing a hidden preference.
# Type '''about:config''' into the location bar and press enter
# Accept the warning message that appears, you will be taken to a list of preferences
# In the filter box type '''frequency''' to bring up a small number of preferences
# Double-click on the preference '''browser.cache.check_doc_frequency''' and change its value to '''1'''
For more details on that preference see http://kb.mozillazine.org/Browser.cache.check_doc_frequency -
How to add the REFRESH button in OOPs ALV grid
how to add the REFRESH button in OOPs ALV grid
Hi Naidu.
Check the below code:
Local Class Definition and implementation For events handeling
CLASS LCL_EVENT DEFINITION .
PUBLIC SECTION.
METHODS :TOOLBAR FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
IMPORTING E_OBJECT,
USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
IMPORTING E_UCOMM.
ENDCLASS.
CLASS LCL_EVENT IMPLEMENTATION.
METHOD TOOLBAR.
WA_TOOL-FUNCTION = 'ZFC1'.
WA_TOOL-TEXT = 'TEST'.
WA_TOOL-ICON = '@EA@'.
APPEND WA_TOOL TO E_OBJECT->MT_TOOLBAR.
ENDMETHOD. "DISPLAY
METHOD USER_COMMAND.
IF E_UCOMM = 'ZFC1'.
ENDIF.
ENDMETHOD. "USER_COMMAND
ENDCLASS. "LCL_EVENT IMPLEMENTATION
MODULE STATUS_0200 OUTPUT.
SET PF-STATUS 'ZALV_BTON'.
SELECT * FROM VBAK INTO TABLE GT_VBAK
UP TO 30 ROWS.
**** CREATE CONTAINER OBJECT
CREATE OBJECT MY_CONTAINER
EXPORTING
CONTAINER_NAME = 'CC1'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5
OTHERS = 6 .
****** GRID TO CONTAINER
CREATE OBJECT ALV
EXPORTING
I_PARENT = MY_CONTAINER
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
OTHERS = 5.
CREATE OBJECT OBJ.
SET HANDLER : OBJ->TOOLBAR FOR ALV.
SET HANDLER : OBJ->USER_COMMAND FOR ALV.
****** ALV DISPLAY
CALL METHOD ALV->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
CHANGING
IT_OUTTAB = GT_VBAK[]
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4.
ENDMODULE. " STATUS_0200 OUTPUT
*& Module USER_COMMAND_0200 INPUT
* text
MODULE USER_COMMAND_0200 INPUT.
IF SY-UCOMM EQ 'BACK'.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " USER_COMMAND_0200 INPUT
Regards
Kumar M -
Where is the refresh button now in this new version?
I finally succumbed and downloaded firefox 4. Now I don;t have a refresh button . . . .
Firefox 4.0 has a combined Reload, Stop, & Go button that appears at the right end of the location bar. Only one function is ever active at any one time, so combining them save UI space was a good idea. When a page is loading, it is a "Stop" button, when it finished loading, it turns into a "Reload" button, and when you start to type something into the Location bar it turns into a "Go" button.
To restore the Firefox 3 appearance you can use these steps:
* Open the "View > Toolbars > '''Customize'''" window or right-click a vacant area on a Toolbar, ''except fot the Bookmarks Toolbar''.
* Then drag'n'drop the Reload and Stop buttons to their previous position at the left side of the Location bar.
# Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
# Or "Reload - Stop" then put a flexible space in between the two to prevent the buttons from combining.
# Set the order to "Stop - Reload" to separate them and get two distinct buttons. -
Why is the Refresh Button missing in the Firefox upgrade I just got??
There has always been a Refresh button in the toolbar at the top. It is not there anymore and I want it back. Please supply it.
If you look at the very end of the address area, after the star, you should see a reload button. Actually, it changes depending on the page status: after loading, it's reload, during loading it's stop, and if you start typing into the address box, it turns into go.
If you prefer separate buttons, you can use the Toolbar customization feature to move the combined button away from the end of the address box and/or split the reload and stop (change the sequence to prevent them from recombining).
View menu > Toolbars > Customize
If you have the orange Firefox button, tap the Alt key or press F10 to display the classic menu bar.
In some cases, it is easier to press Ctrl+r or the F5 key than to find the little button. -
What does the refresh button in contacts on an iphone do
In the top left corner of contacts opposite of the edit button there is a refresh button. Does anyone know what it does?
Hi Aishi,
Yes you are correct.Well i would change my previous statement :
EXCEL/Word Processing is not to open a BLANK SHEET, but to open an EXCEL/WORD document and paste the ALV output data into the Sheet. You have several option when you click on EXCEL. You can paste the ouput as a PIVOT TABLE in excel sheet or Excel SAP Macros or a normal table.
Open program <b>BCALV_FULLSCREEN_GRID_EDIT</b> in SE38 and execute it. Click EXCEL. And follow the directions. It will copy paste the code from the ALV output into Excel/Word File.
The difference in EXPORT is that in EXPORT, you can download it in different formats ( VIz. excel, text etc ) without any formatting ( COlors etc.). But in the EXCEL button case, the data is copied and has different colours for columns etc.
Best regards,
Prashant -
Outlook Add In - Hook into delete event without having to open the email.
Is it possible to hook into the BeforeDelete command without having to open the email to fire the event. At present my code will hit the BeforeDelete event when the email is open and delete is selected, but it does not fire if deleting without opening
the email.Below is the Property MailItem I have in a class called MailItemContainer:
/// <summary>/// Gets or sets the Mail Item property/// </summary>public Outlook.MailItem MailItem
get
returnthis.mailItem;
set
if (this.mailItem != null)
try
((Outlook.ItemEvents_10_Event)this.mailItem).Forward -= new Outlook.ItemEvents_10_ForwardEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).Open -= new Outlook.ItemEvents_10_OpenEventHandler(this.MailItem_Open);
((Outlook.ItemEvents_10_Event)this.mailItem).PropertyChange -= new Outlook.ItemEvents_10_PropertyChangeEventHandler(this.MailItem_PropertyChange);
((Outlook.ItemEvents_10_Event)this.mailItem).Reply -= new Outlook.ItemEvents_10_ReplyEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).ReplyAll -= new Outlook.ItemEvents_10_ReplyAllEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).Send -= new Outlook.ItemEvents_10_SendEventHandler(this.MailItem_Send);
((Outlook.ItemEvents_10_Event)this.mailItem).Unload -= new Outlook.ItemEvents_10_UnloadEventHandler(this.MailItem_Unload);
((Outlook.ItemEvents_10_Event)this.mailItem).BeforeDelete -= new Outlook.ItemEvents_10_BeforeDeleteEventHandler(this.MailItem_Delete);
catch
if (value != null && !value.Equals(this.mailItem))
this.mailItem = value;
((Outlook.ItemEvents_10_Event)this.mailItem).Close += new Outlook.ItemEvents_10_CloseEventHandler(this.MailItem_Close);
((Outlook.ItemEvents_10_Event)this.mailItem).Forward += new Outlook.ItemEvents_10_ForwardEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).Open += new Outlook.ItemEvents_10_OpenEventHandler(this.MailItem_Open);
((Outlook.ItemEvents_10_Event)this.mailItem).PropertyChange += new Outlook.ItemEvents_10_PropertyChangeEventHandler(this.MailItem_PropertyChange);
((Outlook.ItemEvents_10_Event)this.mailItem).Reply += new Outlook.ItemEvents_10_ReplyEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).ReplyAll += new Outlook.ItemEvents_10_ReplyAllEventHandler(this.MailItem_Reply);
((Outlook.ItemEvents_10_Event)this.mailItem).Send += new Outlook.ItemEvents_10_SendEventHandler(this.MailItem_Send);
((Outlook.ItemEvents_10_Event)this.mailItem).Unload += new Outlook.ItemEvents_10_UnloadEventHandler(this.MailItem_Unload);
((Outlook.ItemEvents_10_Event)this.mailItem).BeforeDelete += new Outlook.ItemEvents_10_BeforeDeleteEventHandler(this.MailItem_Delete);
}I have an Outlook AddIn which code is below:/// <summary>
/// Mutex to control loading and new mails
/// </summary>
private System.Threading.Mutex mutexLoad = new System.Threading.Mutex();
/// <summary>
/// Gets or sets the mail item list
/// </summary>
internal List<MailItemContainer> MailItemList
get;
set;
/// <summary>
/// Checks the list to see if the item has already been registered.
/// </summary>
/// <param name="findItem">The <typeparamref name="Outlook.MailItem">MailItem</typeparamref> to find.</param>
/// <returns><c>True</c> if found, <c>False</c> if not</returns>
public bool ContainsMailItem(Outlook.MailItem findItem)
var found = false;
foreach (var item in this.MailItemList)
found = item.MailItem != null && item.MailItem.Equals(findItem);
try
found = found || (!string.IsNullOrWhiteSpace(item.MailItem.EntryID) && item.MailItem.EntryID.Equals(findItem.EntryID));
catch
if (found)
break;
return found;
/// <summary>
/// Finds the container for the mailitem in the list if the item has already been registered.
/// </summary>
/// <param name="findItem">The <typeparamref name="Outlook.MailItem">MailItem</typeparamref> to find.</param>
/// <returns>The MailItemContainer object that is used to extend the mail item</returns>
public MailItemContainer FindMailItem(Outlook.MailItem findItem)
MailItemContainer mailContainer = null;
foreach (var item in this.MailItemList)
if (item.MailItem != null)
if (item.MailItem.Equals(findItem))
mailContainer = item;
else
try
if (!string.IsNullOrWhiteSpace(item.MailItem.EntryID) && item.MailItem.EntryID.Equals(findItem.EntryID))
mailContainer = item;
catch
if (mailContainer != null)
break;
return mailContainer;
/// <summary>
/// This will attempt to get the default values for the user and bind to the outlook events.
/// </summary>
private void InitialiseAddIn()
var success = DA.SQLDataSource.IsDBConnectionValid();
if (success)
Utility.UserUpdated -= new EventHandler(this.Utility_UserUpdated);
try
Utility.User = DA.User.GetUserByUserId(Utility.UserId.GetValueOrDefault());
success = Utility.User != null;
if (success)
Utility.Department = Utility.User.Department;
success = Utility.Department != null;
if (success)
this.MailItemList = new List<MailItemContainer>();
// Add a handler when an email item is opened
this.Application.ItemLoad += new Outlook.ApplicationEvents_11_ItemLoadEventHandler(this.ThisApplication_ItemLoad);
// Add a handler when an email item is new
this.Application.NewMailEx += new Outlook.ApplicationEvents_11_NewMailExEventHandler(this.ThisApplication_NewMailEx);
// Add a handler when the selection changes
this.Application.ActiveExplorer().SelectionChange += new Outlook.ExplorerEvents_10_SelectionChangeEventHandler(this.ThisAddIn_SelectionChange);
else
MessageBox.Show("Your department has not been selected. Click on the \"Call Centre\" option on the menu and press the \"Settings\" button to select your department.", "PSP Call Centre Tracker");
else
MessageBox.Show("Your user profile has not been set up yet. Click on the \"Call Centre\" option on the menu and press the \"Settings\" button to select your department and create a profile.", "PSP Call Centre Tracker");
catch
MessageBox.Show("Call Centre Tracker was unable to communicate with active directory.\nTracking will not be enabled for this Outlook session.", "PSP Call Centre Tracker");
else
MessageBox.Show("Call Centre Tracker was unable to communicate with database.\nTracking will not be enabled for this Outlook session.", "PSP Call Centre Tracker");
Utility.UserUpdated += new EventHandler(this.Utility_UserUpdated);
/// <summary>
/// The event that fires when the add-in is loaded
/// </summary>
/// <param name="sender">The object that fired the event</param>
/// <param name="e">The evetn args</param>
private void TrackingAddIn_Startup(object sender, System.EventArgs e)
this.InitialiseAddIn();
/// <summary>
/// This fires when the add-in is closed
/// </summary>
/// <param name="sender">The ibject that fired the event</param>
/// <param name="e">The event args</param>
private void TrackingAddIn_Shutdown(object sender, System.EventArgs e)
this.Application = null;
/// <summary>
/// Handles the event when the User has been changed.
/// </summary>
/// <param name="sender">The object that raised the event</param>
/// <param name="e">The default event arguments</param>
private void Utility_UserUpdated(object sender, EventArgs e)
this.InitialiseAddIn();
/// <summary>
/// This is the application_ item load.
/// </summary>
/// <param name="item">The mail item.</param>
private void ThisApplication_ItemLoad(object item)
if (item is Microsoft.Office.Interop.Outlook.MailItem)
Outlook.MailItem mailItem = item as Outlook.MailItem;
try
this.mutexLoad.WaitOne();
if (mailItem != null && !this.ContainsMailItem(mailItem))
this.MailItemList.Add(new MailItemContainer(mailItem, this));
finally
this.mutexLoad.ReleaseMutex();
/// <summary>
/// Thises the application_ new mail ex.
/// </summary>
/// <param name="entryIDCollection">The entry ID collection.</param>
private void ThisApplication_NewMailEx(string entryIDCollection)
var idCollection = entryIDCollection.Split(',');
var sentFolder = this.Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderSentMail);
var inboxFolder = this.Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
foreach (var entryId in idCollection)
var item = this.Application.Session.GetItemFromID(entryId);
if (item is Outlook.MailItem)
var mailItem = item as Outlook.MailItem;
var parentFolder = Utility.GetTopLevelFolder(mailItem);
if (parentFolder != null && parentFolder.EntryID == inboxFolder.EntryID)
var referenceCode = Utility.MatchSubjectReference(mailItem.Subject);
try
this.mutexLoad.WaitOne();
var containerItem = this.FindMailItem(mailItem);
if (!DA.TrackingItem.ExistsByReferenceCode(referenceCode, mailItem.ReceivedTime))
if (containerItem == null)
containerItem = new MailItemContainer(mailItem, this);
this.MailItemList.Add(containerItem);
containerItem.IsNewItem = true;
containerItem.TrackingItem = Utility.RegisterMailIncoming(item as Outlook.MailItem, this.Application);
finally
this.mutexLoad.ReleaseMutex();
////Insert into Detail file and get the refence number
////MailInsert("Incoming");
/// <summary>
/// This action fires when the selection changes
/// </summary>
private void ThisAddIn_SelectionChange()
var unread = this.MailItemList.Where(d => d.IsNewItem && d.MailItem.UnRead).ToList();
foreach (var item in unread)
item.DoUnReadCheck(); -
Problems updating numbers charts in pages - where is that "refresh" button?
Hi,
I am trying to update a numbers chart that I have included in a pages document, but can't figure how to do it. Seems like I am missing and icon in Pages.
From the help manual from Pages:
*Select the chart on the page and click the Refresh button that appears.*
I keep looking but can't see it. Am I missing something here. Is there a setting somewhere that is not set.
P.S Yes, I saved the Numbers dokument before I copied it into the Pages doc. After updating the chart, I saved it before I returned to the Pages doc.
All help is appreciated.
Best regards
Vollis72Hi,
Sorry for this, but I was thinking about tables and not charts!!!
I figured out the charts issue, but am I correct if I understand that you can't insert Numbers tables to Pages, and then update them (in the same was as the charts?)
Best Regards
Vollis72 -
Where is the refresh button? Missing !
I cannot find the refresh button? I don't see refresh in the view menu drop down either.
It has been incorporated into the far right end of the Address Bar. When you load a page, it is a "Stop" button, when it finished loading, it turns into a "Reload" button.
If you want it to be somewhere else in the Toolbar, you can drag it out to wherever you want. If that doesn't work, try this:
View > Toolbars > Customize and drag the Refresh/Stop icon into the window, then drag it back out to wherever you prefer. -
Hello All,
I have refresh button on application tool bar of the report output. The report has to be refreshed ( re-executed) once the refresh button is clicked. Just like refresh button on MD04. Can somebody please help me how do i acieve it. Thank you in advance.First, I would add one line of code to the example above.
START-OF-SELECTION.
PERFORM SHOW_LIST.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'REFR'. PERFORM SHOW_LIST.
ENCASE.
FORM SHOW_LIST.
<b>sy-lsind = sy-lsind - 1.</b>
SELECT * FROM TABLE INTO TABLE ITAB WHERE ....
LOOP AT ITAB.
WRITE: / ITAB.
ENDLOOP.
ENDFORM.
This will keep your program from dumping after refreshing 20 or so times.
If you would like to use the SUBMIT, then all of your report logic as well as the refresh logic will need to be in the sumbmitted program. This doesn't really make sense to me. If you are doing all that, then just have one program, like the above example.
Regards,
Rich Heilman -
How can I disable back, forward and refresh button in browser running ADF 11.1.2.2?
I insert the java script into ADF page. But it does not work. The ADF source look like below. Did I insert into wrong region?
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:resource type="javascript">
window.history.forward();
function noBack() {
window.history.forward();
</af:resource>
<af:form id="f1">
<af:pageTemplate viewId="/template/temp2.jspx" id="pt1">
<f:facet name="body">
<af:panelStretchLayout id="psl1" topHeight="30px">
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelBox text="Incident List" id="pb1">
<f:facet name="toolbar"/>
<af:panelCollection id="pc1">
<f:facet name="menus"/>
<f:facet name="toolbar"/>
<f:facet name="statusbar"/>
<af:table value="#{bindings.ServiceRequestMain.collectionModel}" var="row"
rows="#{bindings.ServiceRequestMain.rangeSize}"
Maybe you are looking for
-
If i restore my new iphone from my last backup will it delete all of the new content that I currently have on my phone? would it be better off to set it up as a new iphone? and if i set it up as a new iphone what will that do?
-
Send an email for recipients specified in a table (Workflow)
Hi experts, I started programming Workflow few weeks ago and I've got some doubts. I will explain what I'm trying to develop: We create a Workflow in order to synchronise creation of functional location with asset master (copying the way of synchroni
-
How to enlarge a partition on an external hard drive
I backup with Time Machine to an external hard drive. It is currently configured into two partitions, one being used to backup and the second used for other purposes. I have maxed out the backup partition and wish to expand its size by eliminating
-
Adobe Media Encoder CS5.5 Mac Will Not Open!
As of late, my AME has not been able to open at all. I really don't know how this happened. My specs Macbook Pro 13" Mid 2010 model Processor 2.4GHz Intel Core 2 Duo 4GB Ram Mac OSX 10.8.3 I keep having crash errors reported bad access. And then I tr
-
10.1.0.3 Patchset Now Available
The 10.1.0.3 patchset is now available on Metalink for Microsoft Windows and Intel Linux. From a brief glance at the rest of the platforms it doesn't appear to be out yet for the Unix platforms. Can anyone from Oracle let us know if there's any chang