If statement to put "Yes" or "No" in a table cell on another page
Hello I have tried to find a solution to this and I just can't figure it out. I have gone through all of the messages and tried the examples and no go. Please help, thanks.
THIS IS WHERE THE RADIO BUTTON IS:
----- form1.BorrowerInput.OtherPaymentsGroup.CurrentlyListed::calculate: - (FormCalc, client) ------
----- form1.BorrowerInput.OtherPaymentsGroup.CurrentlyListed.Yes::calculate: - (FormCalc, client) --
----- form1.BorrowerInput.OtherPaymentsGroup.CurrentlyListed.No::calculate: - (FormCalc, client) ---
THIS IS WHERE THE TEXT FIELD IN THE TABLE ON ANOTHER PAGE IS LOCATED
----- form1.#subform[5].Table1.Row3.ListedYesNo::calculate: - (FormCalc, client) -------------------
I am using the following if statemnet:
if (this.rawValue == 1) then
form1.#subform[5].Table1.Row3.ListedYesNo.rawValue = "Yes";
elseif (this.rawValue == 2) then
form1.#subform[5].Table1.Row3.ListedYesNo.rawValue = "No";
endif
When I put it in:
----- form1.BorrowerInput.OtherPaymentsGroup.CurrentlyListed::calculate: - (FormCalc, client) ------
I get the following error when I click the button:
"You are not allowed to modify this field"
I am totally lost on this, where would the script go or is it even right? Thanks for the help.
If you have rights to modify tabular model then, you can create a measure in your Tabular model which returns previous week and then use this measure in Pivot Table.
Thanks,
Sagar K
(Blog: http://datamazik.blogspot.in/)
Similar Messages
-
Return statement should put beyond try/catch clause??
The return statement should put beyond the try/catch clause, is that correct? Well,
I tried to put inside the try block, but it will have compile error though.
public String getValue()
String value;
try
catch(...)
return value;
please advise. thanks!!When a method returns a value, you must make sure that even if an exception is thrown and caught a value will be returned (or just throw the exception out of the method).
You can put a return clause as the last thing in the try block and another return clause after the catch block (this is where we go if we catch an exception so you probably want to return null). -
please someone help i bought an iphone4 from the states, i put the sim card in, icould make a phone call,thats ok but i couldnt open the opera,and when i click on wireless on buttom nothings happen.
Are you talking about an unlocked version? If an iPhone is locked to AT&T in the U.S., anyting is fair game outside of AT&T's network. (You can always use WiFi, though.)
-
How can I put a message in a page after an action in another page?
Hi everybody, I know that what I try to explain is a bit difficult to understand without know all the context but I try to do it the same:). I have a datatable that contains a list of student. In another page I insert a new student. When I click on "save" button I save the new student and I return to the page with the datatable. The problem is: when I add a student I must notify the user that the student is added correctly with a message in the 1st page like "The student is added correctly". This message must display only after I added the student not when I see for the first time the page with the datatable. How can i do this? Thanks to all.
I use your suggestion but it doesn't work. I create a bean named MessageHandler with scope request. In its constructor i put an empty value for the variable addStudent_message, and in the page that the message should be I have this line of code:
<h:outputText rendered="#{!empty messageHandler.addStudent_message}" value="#{messageHandler.addStudent_message}"/>
In the bean I used to add a student I have a MessageHandler object and in the method that add a student, before the return statement, I put this:
handler.setAddStudent_message("Studente aggiunto correttamente");
When I run, it gives me this error:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error calling action method of component with id _idJsp1:save
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
root cause
javax.faces.FacesException: Error calling action method of component with id _idJsp1:save
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
root cause
javax.faces.el.EvaluationException: Exception while invoking expression #{addStudentBean.save}
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
root cause
java.lang.NullPointerException
beanDomain.AddStudentBean.save(AddStudentBean.java:68)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
javax.faces.component.UICommand.broadcast(UICommand.java:106)
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
It seems that it doesn't find the MessageHandler object. What do you think? -
How to read the method and put that code in 1 internal table
Hi,
Actually in the normal ABAP, if we want to read the report, then we will write read report statement.
If we want to read method then this statement will not work.
So, to read the method and put that code in 1 internal table , which statement we need to write?
Regards,
RadhikaHi Naimesh,
Thanks for your reply.
As, i am not aware of ABAP Objects i am having some issues:
Actually that is working for some methods in some classes.
Here 1 issue is there:
In se24 1 method is there in 1 class.
Even by using that FM in SE37 i am able to get the program name by giving class and method name,
but while using that FM in the program i am not able to get that program name.
so, i am unable to read the source code of the program?
1 example here:
Class name is CL_GUI_FRONTEND_SERVICES.
in this class, methods like FILE_EXIST , FILE_GET_SIZE, etc are there.
By giving the class name and method name i am able to get the program name also,
but while using that FM in the program i am not able to get that program name.
so, i am unable to read the source code of the program?
Here is my code:
REPORT Z16059_SCAN_METHOD.
DATA: BEGIN OF I_PROGRAM OCCURS 0,
LINE(256) TYPE C,
END OF I_PROGRAM.
DATA METHOD TYPE PROGRAM.
DATA: BEGIN OF I_STRUCTURE,
CLS_NAME(30) TYPE C,
METH_NAME(61) TYPE C,
END OF I_STRUCTURE.
I_STRUCTURE-CLS_NAME = 'CL_GUI_FRONTEND_SERVICES'.
I_STRUCTURE-METH_NAME = 'CL_GUI_FRONTEND_SERVICES-FILE_EXIST'.
CALL FUNCTION 'SEO_METHOD_GET_INCLUDE_BY_NAME'
EXPORTING
MTDKEY = I_STRUCTURE
IMPORTING
PROGNAME = METHOD
EXCEPTIONS
INTERNALMETHOD_NOT_EXISTING = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ REPORT METHOD INTO I_PROGRAM.
Please help me out in this regard.
Thanks & Regards,
Radhika -
picture size...in putting together a book I can move photos onto a page and enlarge the picture but is there a way to reduce the picture size? some cases I want a smaller picture and if I change the size of the picture box I only get a portion of the image. I want to reduce the image to fit the size of the box.
If you right click on the image on the page in the context menu select photo box alignment and then select one of scale to fit {centered, Left-aligned, Right-aligned}
That should do what you are loking for. -
Hi
I'd appreciate some help with putting a border around a table
as I'm sure
I'm not doing this the best way!
I selected my table then chose a thin (size 2) border and
desired colour.
The problem is this has put a border around every cell in the
table.
Trying to remove the internal borders has been very
frustrating!
Just be clear, when I say "remove the internal borders" I
don't want to
merge cells I just want to stop the borders displaying.
So...
Is there a quick way to simply put an outline border around
the table?
What is the best method for removing internal borders?
Having got so used to the ease of formatting tables in MS
Word this is a bit
of a hair puller!!
Thanks for your time.
Happy New Year!!
IanDon't use the property inspector to add the border - you will
need to use
css...
examples here:
http://www.dreamweaverresources.com/tutorials/tableborder.htm
Nadia
Adobe® Community Expert : Dreamweaver
Tutorials |SEO |Templates
http://www.DreamweaverResources.com
http://www.perrelink.com.au
CSS Tutorials for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/css.html
"Ian R" <[email protected]> wrote in message
news:eniufa$iaq$[email protected]..
> Hi
>
> I'd appreciate some help with putting a border around a
table as I'm sure
> I'm not doing this the best way!
>
> I selected my table then chose a thin (size 2) border
and desired colour.
>
> The problem is this has put a border around every cell
in the table.
>
> Trying to remove the internal borders has been very
frustrating!
>
> Just be clear, when I say "remove the internal borders"
I don't want to
> merge cells I just want to stop the borders displaying.
>
> So...
>
> Is there a quick way to simply put an outline border
around the table?
>
> What is the best method for removing internal borders?
>
> Having got so used to the ease of formatting tables in
MS Word this is a
> bit of a hair puller!!
>
> Thanks for your time.
>
> Happy New Year!!
>
> Ian
> -
I put an object and/or a text box on a page and then cannot select it - the Text cursor (not pointer, just the text cursor shows) is put on the object or text box and nothing happens. It is so frustrating! I then open up Everweb and the same thing, I create an object and then try and elect it to make it bigger etc and cannot. I know it must be something system wide as it happens in apps other than Pages.
I put an object and/or a text box on a page and then cannot select it - the Text cursor (not pointer, just the text cursor shows) is put on the object or text box and nothing happens. It is so frustrating! I then open up Everweb and the same thing, I create an object and then try and elect it to make it bigger etc and cannot. I know it must be something system wide as it happens in apps other than Pages.
-
i bought iphone 5 with there box and accessories by third hand now i dont now the icloud id which first person put it now the iphone 5 stuck on icloud activation page. it is not theft
are you stupend or clown,because how and the word he is gonna find the first person when i am pretty sure he doesnt even keep in touch with the person who he purch in the first place...Nabeel that is a lot of suck and i know whats that i am stuck in the same situation to...and i celled apple sopurt and they asked for a lot information and when i sent to them they just said to me that they not able to help me with that...i have spake with to many people in apple and the funny part is that everone has diffrent answer..
-
Update Yes/No field in access table through oracle procedure
Hi,
How to update Yes/No field in access table through oracle procedure. all other fields like AutoNumber, Text I can update it. Yes/No field how to update? Please, any one can help me?
Thanks and Regards,
Sudha.Sudha Teki wrote:
select "fldPost" from tblPHd@ODBCLNKNot quite sure what you mean, but the way you select the column would indicate a case sensitive column name
Look at this example
SQL> create table t
2 ("this" varchar2(10))
3 /
Table created.
SQL> insert into t values ('hello')
2 /
1 row created.
SQL> select *
2 from t
3 /
this
hello
SQL> select this
2 from t
3 /
select this
ERROR at line 1:
ORA-00904: "THIS": invalid identifier
SQL> select "this"
2 from t
3 /
this
helloIs your column name also case sensitive? -
I want to put a phone number in to a cell 01273 but the 0 keeps disapearing
i want to put a phone number in to a cell 01273 but the 0 keeps disapearing what am i doing wrong.
Hi Murray,
Numbers has a default format called Automatic and if it sees your input as a numeric value it will try to format it the way it thinks numbers should look. There are several ways to overcome this using various formatting options. The most simple and direct is to pre-format your data area as Text. The most elaborate is to create a Custom Format to automatically insert your choice of punctuation and to treat every zero as significant.
Jerry -
It is possible to put an icon&text on the table�s header of JTabbedPane?
Hi
It is possible to put an icon&text on the table�s header of JTabbedPane?
Tx
Dits not what i'm looking for.
maybe its a JTabbedPane at all. if yuo know the Emule interface,it seems like all the comnents Connect,Servers,Transffers,etc they all like a combination of a jTogglebuttn and a JTabbedpane.
can it be a JToolBar and JToggle buttons in it,that has an event that changh the content of the JFrame?
Tx
D -
Which field we would put join in kna1 and likp table.
Hi,
which field we would put join in kna1 and likp table.
With thanks Regards.> which field we would put join in kna1 and likp table.
>
JoiN:
table KNA1-KUNNR WITH LIKP-KNKLI
Rwd points if reoslved
regards -
SQL-Statement for changing yes/no field entries
I need to change the entrie of a yes/field. The way I have it doesn't work.
Hope you can help me...
Statement stmt = loqui_db_connect.dbconn.createStatement ();
stmt.executeUpdate ("UPDATE user_db SET User_online = 'true' " +
"WHERE User_ID = 000001");
stmt.close ();mfg
m0rbid
Message was edited by:
m0rbidThe true/false or yes/no or on/off field-type in
access.
And I want to know with which argument I can change
the values.The Yes/No field is equivalent to the SQL BIT. SO, I guess you should make use of PreparedStatement and use a setBoolean() to set that value. If you are unaware of PreparedStatements, read here:
http://java.sun.com/docs/books/tutorial/jdbc/basics/prepared.html -
Why I can not download audio book to my iPod after I paid for in my iPhone .
Audiobooks can currently only be downloaded once - if you want to put it on a different device then you should have copied it from your iPhone to your computer's iTunes via File > Transfer Purchases and then synced it to the iPod.
Maybe you are looking for
-
I 'Copy & Paste' from within Firefox quite often but for some reason the function has stopped working when using some sites, even the menu item 'Paste' is greyed out, yet I can open Notepad and 'Paste'. I tried pasting into 'Notepad' then copying fro
-
Processing the batches of data in parallel
Hi friends, Can any one suggest me how to process the bathces of data in parallel. Please see the requirement below. A new version of ZREDISND1_OLD named ZREDISND1_EINVOICE with the possibility of processing the blocked invoices with parallel p
-
ITunes stops working when syncing iPod.....
every time I sync my iPod on iTunes it lags alot, doesn't say it is syncing anything, and crashes with a blue screen thats says something about a crash dump. I took b noir's advice and turned off automatic reboot. I just tried syncing my iPod and a l
-
I am new to FrameMaker (7.2) and I work in localization. What I like about InDesign is the "Package" option where the File, the Assets and the Fonts are combined in a neat deliverable file to the client. Is there no such thing in FM7, or even FM8? I
-
How do I find the current browser window width in pixels?
I'm writing a PHP script that will use the current browser window width and height, but I don't know how to find that. Is there some way to capture the width and height of the current window in pixels? TIA