While selecting value from combo box in one frame, based on the selection..
Hi friends,
can someone help me out on a issue as it follows:-
iam developing an application where Iam using xsl,html,javascript and xml.
There is no existense of Database at all. data is read from xml.
now,
In a window there are 3 frames. In the 1st frame combo box is there.
Based on the selection in the combo box data will be displayed in the 2nd frame.
now onchange or onselect methods not giving the expected result.
actually,in the the xsl which is having 3 frames,the 1st and 3rd frame
calling src="abc.xml" and src="abc.xml"which are static.
but in the 2nd frame the data need to be changed dynamically.
I have given frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
usually data dynamically comes from database.but here i have to refer xml file
something like [window.href.location="abc.xml"]
but the problem is when you refer supose:-
<frame name="frame_ExchangeDetails2" rows="3%" src="cc_marketWatch_02.xml"/>
the frame is having static page,though there are functions in javascript which are called in onload and onchange.which are not working.
I have tried putting if condition like:-
if(document.abc.fieldname.value=='6'
{ window.location.href = "cc_custLookUpData-mobileno.xml";
so that it could go to the repective page.
but it is not working.
so what should i do if I select from combo box in one frame and based on the selection xml/html page will be displayed in the 2nd frame.
if anybody has google account i can forward the zip file so it will be easier to understand.
Regards
Message was edited by:
Postqueries
Message was edited by:
Postqueries
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
-
Trying to get export value from combo box
Using the "Custom Keystroke Script" for a combo box:
// This works but gives the current face value
if( event.willCommit )
app.alert(event.value);
// This works but gives the previous export value
if( event.willCommit )
app.alert(event.target.value);
What I need is the clicked items' current export value as soon as it is clicked.
What am I doing wrong?Sorry about that. I posted the question and then realized I should have just used the same thread.
Any way, I tried your code and it does not show the current export value. It shows the previously selected value.
Example:
When I click item 2 it shows item 0
Then I click item 4 and it shows item 2
Then I click item 7 and it shows item 4.. etc.. (see the pattern)
What I need is the value from the item I'm currently clicking on.
If I click item 2, I expect to see item 2. etc..
Thank you for your patience in answering this! -
Only Dimension Table Values in Combo Box or Drill Down Selections
Hi All,
How to get only Dimension Table Values instead of Master Data Values in Combo Box or Drill Down Box list of values?
I am getting all the values in 0CALMONTH Combo Box where i need only infoproviders values.
In Entry List tab of Combo Box when i select 0CALMONTH its reading from its Master Data.Is there any option how there is Dimension table in Value help.
In Query, infoobject levels the filter values selection is set as infoprovider only.
Can anyone please let me know how to get only dimension table values when we use combo box.
Thanks & Regards
K.Srinivas RaoHi
Create one BI query with only one object in the output of the query. (In your case 0CALMONTH)
So now if when you run the query it will show values which are there in infoprovider. THen drag one form from output of this query in vc & create dropdown list on this.
Is this what you are looking for?
regards
Sandeep -
Report error when using combo box and one text field is empty
I'm building an interactive pdf in adobe pro 9. My problem is the following: I have one text field where you can enter a numeric code and that is used to populate another text field when I choose an option on one combo box.For example: suppose I write the code 123 in the text field "A" and that the combo box has two options ("data" and "-"). When I select "-", another text field "B" is empty, while when I select "data" i populate the text field "B" using the code entered "A" with the text "data_123". In order to do this I use the standard javascript code in the Format>Custom tab of the combo-box.
My questions are:
- how can I prevent the pdf to proceed selecting an option in the combo box when the field "A" is empty?
- how can I update the field "B" every time that I change the text in "A"? I found that the text is "B" is updated only when I press the selection in the combo box.You can set the combo box to read-only in the Validate event of the A field:
// Validate script for text field
getField("combo1").readonly = !event.value;
To update the value of B when A changes, you can expand the script above to something like:
// Validate script for text field
var f1 = getField("combo1");
var f2 = getField("B");
// If there is an entry in the A field...
if (event.value) {
f1.readonly = false; // Make sure the combo box is activated
f2.value = f1.value === "-" ? "" : "fa.value + event.value; // Update the value of field B
} else {
f1.readonly = true; // Deactivate the combo box
f2.value = f2.defaultValue; // Reset field B
You might also want to reset the combo box somewhere in there, but it's not clear to me when you would want to do that. -
Removing value from combo in jsp
Hi all,
I am beginner to servlet ,jsp.Please help me to continue in my small project.At first I will brief about my project.It consist of operation related to Bank locker.
1.To enter to the system I have user id and password .
2.Once its valid they get a screen which has buttons to assign locker to the customer and record locker opration of the customer.
3.When assign locker is clicked I wil get a page which has combo box for entering locker id and for customer id.These customer id and locker id I am retrieving from the database. And I have one text field for entering date.Once if we click assign button these information will get stored in database.
4.In backend I have table users->for verifying username and password, customer->has fields customer id and name. Here id is primary key, Assign locker->Locker id(Primary key),customer id(Foreign key customer table) and date.
5.So when I click assign button all information wil get stored in my AssignLocker table. Till here its working. Now what I want is once a locker is assigned to a customer it should be removed from combo box .I am not getting logic for this. Please can anyone help me to solve this
Thanks a lot in advance
Soumyai have taken two combobox in my code , and i want to
select the value from combobox. please anyone can
help me out.
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><title></title></head>
<body>
<form action="" method="post">
<fieldset>
<legend>My Combo Box Example:</legend>
<select name="myComboBox" multiple="multiple">
<option value="123">First Option</option>
<option value="456">Second Option</option>
<option value="789">Third Option</option>
</select>
<br/>
(Hint: Hold the Ctrl key to select multiple)
<br/><br/>
<input type="submit" name="submit" value="Submit This Form to Itself"/>
</fieldset>
</form>
<hr/>
<div>
<br/><br/>
Values Selected from the Combo Box are:<br/><br/>
<%
String[] myComboBoxValues = request.getParameterValues("myComboBox");
%>
<%
/*Short for loop syntax requires JDK 1.5 or higher*/
for (String myComboBox : myComboBoxValues) {
out.println(myComboBox);
out.println("<br/>");
%>
</div>
</body>
</html>Note that I've use JSP Scriptlets for illustration purposes only. Now a better way to write JSPs is to use JSTL 1.1.x or higher tags.
Avoid Scriptlets , and use MVC framework , make use of Servlets and JavaBeans. -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
How do I retrieve data from combo boxes?
The past weekend I spent my whole weekend trying to find this
out and gone through the top 10 pages on google trying all sorts of
things. I would be grateful for anyone who can help me.
I have 6 combo boxes in a booking form and I need to retrieve
the data when someone click submits which gets forwarded on to php
then my mailbox. They are called box1_cb, box2_cb.....box6_cb All
in the instance of: ComboBox - which I don't understand what that
does.
it does not seem to be retrieving any of the data. For each
combo box:
I have the the options people can choose form in "Labels" box
under "Paramaters", nothing for "Data", Row Count is 8 and nothing
for "Change Handler" which I don't know what it does.
Can anyone please provide some help with telling me what
"change handler" does, do I need the data for each combo box in the
"Labels" parameter as well as the "Data" box, what an instance does
(for combo boxes) and what I need to put in the actionscript for
the submit button as well as do i need to put code in the
actionscript for each combo box?
The options people can choose from in the combo boxes are
there when someone views the site.
Can anyone please help me..I would greatly appriciate it.
Thanks.If your hard drive can be detected and shows up as a drive letter in my computer but you can't access your files,then you can recover your data off it with data recovery software easily.This way is the easiest and the most inexpensive way to recover your data.If you bring it to a computer repair shop that is available for data recovery servise,they will cost you $500-1000 or more.Hmm, a lot of money.
I managed to recover data from crashed hard drive with Tenorshare Data Recovery.If needed,you can download it and scan your hard drive for free to preview whether your data can be recovered.It will show you thumbnails for recoverable pictures. -
My RGB colors are turning to cmyk while bringing image from illustrator or photoshop. Why?
Removing the image from that page bright RGB colors are back.. hmmEdit > Transparency Blend Space > Document RGB
-
Tried to install OS X Yosemite on my MacBook. Got message that it could not be installed on my computer due to error while extracting files from package "Essentials.pkg". When i quit the installer as recommended it goes in a loop and gets stuck.
Hey corrafromlondon,
Thanks for the question. After reviewing your post, it sounds like the installer file isn't working. Have you tried deleting the installer and redownloading the installer? I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
How to install OS X Yosemite on your Mac - Apple Support
you can find the Yosemite installer app in your Applications folder or Launchpad.
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
I opened my iPhoto library today which was stored on an external hard drive and several of my videos now will not play at all. The weird thing is that each file shows a duration of 1 second and when I open them it just shows one frame. What the !&%$#@ Where did my original video files go?
Sounds like a good plan, you can never be to safe and having a second External HD is safer than one.
The only thing that I would do different, is setup the 3T as my TimeMachine Backup and then erase and move my Photos, Videos and perhaps even iTunes Media to the 1T. That way you will have room to backup both the Internal Hard Drive and the 1T External Hard Drive to the 3T using TimeMachine.
Take your time, study and use the > Time Machine - Frequently Asked Questions if you get stuck or aren't sure how to make the move.
Also see > iPhoto: How to move the Library folder to a new location
iMovie ’08: Storing or moving your video library to an external hard disk
and > iTunes for Mac: Moving your iTunes Media folder -
How to display data in a grid after selecting topic from combo box?
could someone help me out? i'm displaying a combo box (about
20 items) vertically. when user selects one of these items, i'd
like for information regarding that choice to be displayed in my
data grid. thanks - Karl from KansasIf you have the following:
<mx:ComboBox id="combo_box" dataProvider="{users}"
labelField="user_name" change="show_details(event)"
></mx:ComboBox>
<mx:DataGrid id="data_grid" >
<mx:columns>
<mx:DataGridColumn headerText="Name"
dataField="user_name"/>
<mx:DataGridColumn headerText="email"
dataField="email"/>
</mx:columns>
</mx:DataGrid>
private function show_details(evt:Event):void {
data_grid.dataProvider = evt.currentTarget.selectedItem
This assumes that your combo box data has a user_name and
email property value. Substitute your property values where needed.
Vygo -
VBA Userforms – Getting errors when item from combo box is not selected
Hi there
Thank you in advance for taking the time to check this out.
Objective:
I have 2 combo boxes, one is dependent on what has been selected in the first combo box (dynamic named range), they work fine except for an irritating error when the user accidentally clicks in the empty
Cmbox_IncCategory and it won’t allow the user to go back to the
cmbx_Category_Type box if the user forgot he had to make a selection from that first before selecting the
Cmbox_IncCategory.
The error that pops up is “Invalid property value”.
I tried having text in there to say “please select from Cmbox_IncCategory first, but that didn’t fix it.
I tried to ‘If error resume next’ but that didn’t like it either. Now I am stumped.
Main combo box= cmbx_Category_Type
2nd combo box (displaying a list dependent on what was selected in Main combo box)= Cmbox_IncCategory
I know there must be a way to fix it so that if a user clicks on the combo box, but doesn’t make a selection it won’t lock up the form.
Yes, it is a mandatory field, and I was considering using a message box to advise the user that this must be completed, but I am not sure how to do it (and avoid the errors
Here’s the current code I have for the combo boxes.
Me.Cmbox_IncCategory = "" 'Clears the contents of the 2nd combobox when another category is chosen
On Error Resume Next
'I can't seem to have the Incident Category combobox to be empty when the form is open _
I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
but also get the error. I don't know how else to get it to work .. I tried both codes in the _
form_initialize, but get an error ... I'm stumped !
Select Case Me.cmbx_Category_Type
Case "Crime"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
Case "Property Damage - Minor - NS"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
Case "Property Damage - Significant - S"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
Case "Safety"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
Case "Security Breach"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
Case "Support"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
Case "Vehicle"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
End Select
End Sub
I’d be really grateful if someone could help me out, or perhaps direct me to where I might find some coding that will achieve the result I am seeking.
This links to
My Sample form
With much gratitude,
TheShyButterfly
Hope you have a terrific day, theShyButterflyHi Peter,
Thank you for your quick response :) Brave man! :)
Both combo boxes are blank to start with (because nothing has been selected). If I click on the first combo box (cmbx_Category_Type) which lists the main events/category types, but I don't select any thing, and I click in the secondary box
(Cmbox_IncCategory) and then click on any other control, I get an “Invalid property value” error. When I click OK on the error (a few times) and I return to the code window, it gives no indication where/what is breaking
the code/causing the error. I have no choice but to exit the form by stopping in the code window.
If I click on the first textbox, (cmbx_Category_Type), and then do the right thing and make a selection, then I have no problems with the secondary textbox (Cmbox_IncCategory).
As I am not that up on VBA I am trying to follow your instructions... I have changed the code as follows, removed and replaced the rowsource name, but I encounter the very same problem.
When I changed my code from Me.Cmbox_IncCategory="" to yours myCombo.ListIndex = -1 (changing the combo box name to reflect my combo box name) and adding the second line of code ...
Me.Cmbox_IncCategory.ListIndex = 0 I still got the same behaviour and error.
I even tried moving each row of the named rows down one row (so that there would be a 'blank' row which could be selected to get out of trouble, but it wasn't very successful either.
Have you opened my form to see what happens, I included the link so whoever was looking at my problem (and yes, I have many I know), could see for themselves what it is doing/not doing.
The code now reads as below (is this what you meant?) - the results were as I mentioned above.
Me.Cmbox_IncCategory.ListIndex = -1 'Clears the contents of the 2nd combobox when another category is chosen
Me.Cmbox_IncCategory.ListIndex = 0
' On Error Resume Next
'I can't seem to have the Incident Category combobox to be empty when the form is open _
I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
but also get the error. I don't know how else to get it to work .. I tried both codes in the _
form_initialize, but get an error ... I'm stumped !
Select Case Me.cmbx_Category_Type
Case "Crime"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
Case "Property Damage - Minor - NS"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
Case "Property Damage - Significant - S"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
Case "Safety"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
Case "Security Breach"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
Case "Support"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
Case "Vehicle"
Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
End Select
End Sub
I appreciate your patience :) I am growing in knowledge, but its a slow process. Please let me know if there is anything else I can help clarify for you :)
This links to
My Sample form
Thanking you again
TheShyButterfly
Hope you have a terrific day, theShyButterfly -
Selecting Multiples Values from Multiselect Box
Hi
Here is my requirement ,
Multiselect List Box should display Simulator_Type Values
Simulator_Type Values Values to search for in the column simulator type
AC - small signal AC
HB - Carrier HB
SP - Linear Noise SP - L
SP - s parameters SP - s
TR - Transient TR
DC - operational point DC
ET - Envelope Transient ET
SSNA SSNA
[nothing] nilDepending on the values selected in the multiselect values the data has to be dipayed where the value is in the simulator type column
For Eg : AC - small signal is selected in the :p1_simulator_type multiselect box, The data where the word AC is in simulator_type column should display
Examples of data in the simulator_Type column:
SIMULATOR_TYPE
ac, dcOp, Periodic Steady-pss
AC - small signal
AC Small Signal, Operating Point, Periodic Steady
AC - small signal, SSNA
DC - operational point
ET - Envelope Transient
So , here if i select AC - small signal from the multiselect list box , then the data where "AC" is there in simulator_type has to be displayed , in this case the data associated with
ac, dcOp, Periodic Steady-pss
AC - small signal
AC Small Signal, Operating Point, Periodic Steady
AC - small signal, SSNA
has to be displayed...
currently i have the report query below which is working but only when one simulator type is selected ....
select
* from DW_RFA_JOBDATA
where RFA_SUBMIT_TIME >= :P1_START_DATE
and RFA_SUBMIT_TIME < :P1_END_DATE
AND RFA_SIMULATOR_TYPE like '%'||:P1_SIMULATOR_TYPE||'%'Could any body please let me know how do i get data when multiple values are selected...
Please let me know any further explanation is needed for the question
Thank you
Edited by: priyapinky on May 5, 2010 9:26 PM
Edited by: priyapinky on May 5, 2010 9:54 PM
Edited by: priyapinky on May 6, 2010 8:48 AMHello,
It seems to me like you don’t really understand how multi select items work in APEX. This type of items (we are talking about multi-select list, checkbox and the shuttle item) don’t really returned multiple values. They returned a single value that contains multiple segments, each include one valid option. By default, each segment is delimited with a colon (:). In your case it means that if you chose two values from your static LOV, the returned value will look similar to “HB:DC” (or any other combination of options). Now you need to work with this value.
The way your RFA_SIMULATOR_TYPE column build, you can’t really work with the multi-select value, as you’ll never find a match to it, as this is actually an artificial value that only exist as a result of your multi-select.
Regarding the new query you are trying, you wrote yourself that “i am getting the data with all the simulator_type select”, and that is correct. Where in this query you are using your filter (:P1_SIMULATOR_TYPE)? This is not the way to go.
You need to break the compound value returned by your multi-select items, and work individually with each segment. You can do that in two ways. The simple one, as I already suggested, is to add another column that will contain only the code describing the simulator (similar to the returned value of the static LOV). In this case, using the instr() function you are checking if the column value is included in your filter (it’s a revered angle – you are actually checking if the single column value is included in your filter and not if the filter included in your column).
The second option is a bit more complicated and it involves slicing the filter itself and dynamically build your query, using the “SQL Query (PL/SQL function body returning SQL query)” report option. In this case we are going to use the APEX built-in function APEX_UTIL.STRING_TO_TABLE(). The following is a very simple code example that you’ll need to adapt to your scenario:
declare
q varchar2(4000);
filter APEX_APPLICATION_GLOBAL.VC_ARR2;
begin
q := 'select * from emp where ';
filter := apex_util.string_to_table('10:20');
for i in 1..filter.count loop
if i = 1 then
q := q || 'deptno = ' || filter(i);
else
q := q || 'or deptno = ' || filter(i);
end if;
end loop;
return q;
end;In your case the parameter for the string_to_table is your filter item, and you can use LIKE as your comparison operator.
Regards,
Arie.
♦ Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
♦ Forthcoming book about APEX: Oracle Application Express 3.2 – The Essentials and More -
How to set current year,month as default value in combo box
hi, im newbie of xcelsius user
i realize that hv a issue that display combo box base on year & month
let said
<b><u>step 1</u></b>
I create excel data like this
<b><u>year___ </u> </b> | <u><b>month_ </b></u> | <u><b>Product</b></u> | <u><b>revenue</b></u>
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
<u><b>Step2</b></u>
Then i go format cell to format/custom date to year & month
Eg1: Year u2013> 02-04-09 convert to u2018YYYYu2019 (2009)
Eg2: Month u2013> 02-04-09 convert to u2018mmmmu2019 (April)
So output like this
<u><b>year</b></u> | <u><b>month</b></u> | <u><b>Product</b></u> | <u><b>revenue </b></u>
2009 | April | a | $4,154
2009 | April | b | $6,813
2009 | May | a | $9,875
2009 | June | b | $6,813
2010 | April | a | $6,813
2010 | April | b | $9,875
2010 | June | a | $9,875
2010 | June | b | $6,813
But the problem is when i insert to combo box,use u201Cfilter Row u201D, i excpectation will display only 2009,2010
But Actual display the Year in combo box is duplicated :'(
so any solution ? and then only how to set current year & month as default value :'(
thanks,
regards
s1
Edited by: Leong Pui Kee on Feb 25, 2011 5:25 AM
Edited by: Leong Pui Kee on Feb 25, 2011 5:36 AMhi,
your created data
step 1
I create excel data like this
year___ | month_ | Product | revenue
02-04-09 | 02-04-09 | a | $4,154
03-04-09 | 03-04-09 | b | $6,813
04-05-09 | 04-05-09 | a | $9,875
05-06-09 | 05-06-09 | b | $6,813
06-04-10 | 06-04-10 | a | $6,813
07-04-10 | 07-04-10 | b | $9,875
08-06-10 | 08-06-10 | a | $9,875
22-06-10 | 22-06-10 | b | $6,813
In this, year and month both are same data, make the diffent data like year 2009, 2010 And month Jan, Feb, March, ...Etc
and also one more check you formulas on month and year, select correct source data, destination data for compoonent..
OR
from above, to create a date column and convert date-->year, date--> month and Explore it.
All the best,
Praveen -
i am populating a list box with Id's and names from a database and im trying to get the values from the list box depending what the user chooses, i.e if they choose the first choice in the list box the value i want to put in a variable is 1, etc
here is the code for the list box, please help
<select name="lstFilm" size="1">
<%while (result4.next())
{%>
<option value="<%result4.getInt(1);%>">
<%out.println(result4.getString(2));%>
</option>
<%}%>
</select>String[] lstFilm = request.getParameterValues("lstFilm");
Of course, it'll only return selected values. It'll be whatever the option values are.
Maybe you are looking for
-
Template creation force repeating data
Hi, I'm new to BI publisher and want to force the data in an outer group to repeat with the child data. I am starting with an oracle report and have set it up to generate the XML. I have Bi publisher plug-in in word. We want a basic table to be sent
-
Illustrator CS4 stürzt beim öffnen einer PDF ab / Illustrator CS4 crashes while opening a PDF
Hallo liebe Community, leider kann mir der telefonsiche support nicht weiterhelfen (Produkt ist zu alt), deshalb seid ihr nun meine letzte Chance! Nun zu meinem Problem: ich benutze seit einigen Jahren erfoglreich den Adobe Illustrator aus CS4 um PDF
-
Hi - I have three 14" ibooks on the same airmac network. One of them, an iBook 900mhz, keeps dropping the airmac connection due to: 'unable to find airport card' error. If the computer is then turned off for sometime then it is then able to reconnect
-
temperature control and watering system for greenhouse using labview and arduino spesification : 1. max temp : 28 celcius (when temperature is more than 28 celcius, fan ON) 2. min temp : 20 celcius (when temperature is under 20 celcius, heater ON) 3.
-
Hi, I do this to run my java class (because it uses a lot of memory): java -Xmx128M Crossword and this works fine. Now I've made an executable jar to run my class just by double clicking on the jar file. The problem is that I dont know how to make th