Need to display 2 dates in one column in Report
Hi All,
I have two date chars, 'Begin date' (4/1/2007 ) & 'End date' (10/1/2011 ) in two different coulums & I need to display them in one column like 4/1/2007 - 10/1/2011, which would specify period i.e 'Begin date' to 'End date'. Can anyone please let me know how I could do this in Query designer?
Thanks!!
as per ur issue it seems u want tod isplay the date start and end in the header area
this can be acheived using Text variables.
u can create 2 text variables whose value is either user entry and whose reference char is Calday
lets say ur user enters 2 date ,one as start date and another as end date.
so u can create a variable A & B whose reference characteristics is 0calday
now in query designer u select in column description where u wish to display date.
then in description side u will see a icon
if u click it u will be able to include text variabel in description
now here create 2 variables x & y
variable x
replacement path variable
reference char---0calday
replacement path tab....
variable is replaced by variable
now select ur variable A.
similarly create variable y
theni n description u can include variable and put like this...
variablex----variable y
this should solve ur issue
Similar Messages
-
Need to display data from one group while in another repeating group
I have a repeating group in my .rft file which displays line level data that has a quote number in it.
At the end of this repeating group I need to display the total for the quote number but these values are in another group that's within a differnt group higher up in the XML tree. Both of the groups have quote number so there is a link between the two. How do I do this? When I add the "higher up" repeating group within the current group I can't get any data to show. Any help would be appreciated.
Kind RegardsHere's the data, I do know how to to move up the tree like a file system but I think my problem is I need to move up the tree and repeat based on the value (quote number) of the lower node.
For instance for each quote number in repeating group G_FORX_OPS_QTE_ORDER_LINES loop through the occurances of same quote number in G_OPPCAT_BREAKDOWN so I can get a total of the fields by quote number
This is overly simplified but it would be like this
<?for-each-group:G_FORX_OPS_QTE_ORDER_LINES;QUOTE_NUMBER?>
quote number 1428
various line level data....
various line level data....
etc....
-- Open loop to get data from other group (Only get data for quote 1428!!)
<?for-each-group:/FORX_AS_OPPOR/LIST_G_OPPORTUNITY_SHEET/G_OPPORTUNITY_ID/LIST_G_OPPCAT_BREAKDOWN/G_OPPCAT_BREAKDOWN;./QUOTE_NUMBER1?>
Total For Quote 1428
Billing Class
BILLABLE: Billable total in dollars
INTERNAL: Internal total in dollars
<?end for-each-group?>
<!-- Generated by Oracle Reports version 6.0.8.26.0
-->
- <FORX_AS_OPPOR>
- <LIST_G_OPPORTUNITY_SHEET>
- <G_OPPORTUNITY_ID>
<COMMENTS1>Opportunity Includes Quote Number(s): 1428-2 1443-1 1444-1 Order Number(s): 159038-10 159044-3</COMMENTS1>
<CUSTOMER_ID>1183</CUSTOMER_ID>
<UPDATED_BY>CTYNER</UPDATED_BY>
<DEPOSITS>5704.68</DEPOSITS>
<OPPORTUNITY_ID>1000216</OPPORTUNITY_ID>
<OPPORTUNITY_NAME>1000216:UAT DEMO</OPPORTUNITY_NAME>
<CUSTOMER_NUMBER>103736</CUSTOMER_NUMBER>
<ENTITY>FSG</ENTITY>
<SOLD_TO>ALLSTATE INSURANCE COMPANY</SOLD_TO>
<CONTRACT_ID>S620_N</CONTRACT_ID>
<SALESREP_ID>2239</SALESREP_ID>
<SALES_REP_NAME>Conley, Michael</SALES_REP_NAME>
<ORDER_ACCEPTANCE>Skokie</ORDER_ACCEPTANCE>
<BOOKED_COUNT>2</BOOKED_COUNT>
<TERRITORY_NAME>Enterprise - Enterprise</TERRITORY_NAME>
- <LIST_G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1> First Occurence of 1428
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>5</SUM_ITM_COUNT>
<SUM_ITM_PRICE>151500.4</SUM_ITM_PRICE>
<SUM_ITM_COST>1688</SUM_ITM_COST>
<SUM_ITM_GPM>149812.4</SUM_ITM_GPM>
<SUM_ITM_MARKUP>88.7514218009478672985781990521327014218</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1> Second Occurence of 1428
<INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>29.72</SUM_ITM_PRICE>
<SUM_ITM_COST>0</SUM_ITM_COST>
<SUM_ITM_GPM>29.72</SUM_ITM_GPM>
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1443</QUOTE_NUMBER1>
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>5</SUM_ITM_COUNT>
<SUM_ITM_PRICE>2084</SUM_ITM_PRICE>
<SUM_ITM_COST>1748</SUM_ITM_COST>
<SUM_ITM_GPM>336</SUM_ITM_GPM>
<SUM_ITM_MARKUP>.192219679633867276887871853546910755149</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>1500.4</SUM_ITM_PRICE>
<SUM_ITM_COST>1364</SUM_ITM_COST>
<SUM_ITM_GPM>136.4</SUM_ITM_GPM>
<SUM_ITM_MARKUP>.1</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>66.28</SUM_ITM_PRICE>
<SUM_ITM_COST>0</SUM_ITM_COST>
<SUM_ITM_GPM>66.28</SUM_ITM_GPM>
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
<INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>0</SUM_ITM_PRICE>
<SUM_ITM_COST>22.98</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>0</SUM_ITM_PRICE>
<SUM_ITM_COST>22.98</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
<INT_ITM_TYPES>REVENUE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>20</SUM_ITM_PRICE>
<SUM_ITM_COST>101</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
</LIST_G_OPPCAT_BREAKDOWN>
- <LIST_G_FORX_OPS_QTE_ORDER_LINES>
- <G_FORX_OPS_QTE_ORDER_LINES>
<ORDER_ACCEPTANCE1>SKOKIE</ORDER_ACCEPTANCE1>
<COMMITMENT />
<COMMITMENT_APPLIED_AMOUNT />
<PARTIAL_COMMENTS />
<COMMENT_FOR_INVOICE />
<QUOTE_DATE>07/13/2009 02:00:10PM</QUOTE_DATE>
<LINE_NUMBER>1</LINE_NUMBER>
<EXTD_SELLING_PRICE>880</EXTD_SELLING_PRICE>
<ORDER_PAY_TERM>Automated Term Due in 44 Days</ORDER_PAY_TERM>
<QUOTE_PAY_TERM />
<ITEM_CATEGORIES>HARDWARE.MACHINE.SERVER.</ITEM_CATEGORIES>
<QUOTE_STATUS>Order Submitted</QUOTE_STATUS>
<QUOTE_USER>Tyner, Chris</QUOTE_USER>
<OPPORTUNITY_ID1>1000216</OPPORTUNITY_ID1>
<DATASOURCE>1</DATASOURCE>
<HEADER_ID>398631</HEADER_ID>
<LINE_ID>900897</LINE_ID>
<LINE_TYPE_ID>1181</LINE_TYPE_ID>
<ORDER_NUMBER>159038</ORDER_NUMBER>
<ORDER_VERSION>10</ORDER_VERSION>
<TEAM>IBM</TEAM>
<OPPORTUNITY_NAME1 />
<QUOTE_NAME>1000216:IBM:UAT DEMO</QUOTE_NAME>
<QUOTE_NUMBER>1428</QUOTE_NUMBER>
<QUOTE_VERSION>2</QUOTE_VERSION>
<NEW_PARTIAL>0</NEW_PARTIAL>
<COMMIT_DEL_DATE>13-JUL-09</COMMIT_DEL_DATE>
<ORDERED_QUANTITY>1</ORDERED_QUANTITY>
<PO_NUMBER>098534089</PO_NUMBER>
<GROUP_NUM>1</GROUP_NUM>
<INVENTORY_ITEM_ID>845256</INVENTORY_ITEM_ID>
<ORDERED_ITEM>7978BDU</ORDERED_ITEM>
<PRODUCT>7978BDU</PRODUCT>
<ITEM_DESCRIPTION>X3550, XEON QUAD CORE E5430 80W 2.66GHZ/1333MHZ/12MB L2, 2X1GB CHK, O/BAY 2.5IN HS SAS, SR 8K-I, PCI-E RISER CARD, ULTRABAY ENHANCED DVD-ROM/CD-RW COMBO DRIVE, 670W P/S, RACK</ITEM_DESCRIPTION>
<MANUFACTURER_DESCRIPTION>IBM</MANUFACTURER_DESCRIPTION>
<TYPE />
<EQUIPMENT_CODE>B</EQUIPMENT_CODE>
<TAX_CLASS_CODE>HW</TAX_CLASS_CODE>
<CLS />
<SUBINVENTORY />
<UNIT_LIST_PRICE>0</UNIT_LIST_PRICE>
<ITEM_UNIT_COST>800</ITEM_UNIT_COST>
<VENDOR_INVENTORY_RETURN />
<SHIPPING_TYPE />
<SHIPPING_ORG>DSP</SHIPPING_ORG>
<SOLD_TO1>ALLSTATE INSURANCE COMPANY</SOLD_TO1>
<SOLD_TO_ACCOUNT_NUMBER>103736</SOLD_TO_ACCOUNT_NUMBER>
<INVOICE_TO_LOCATION>10110384</INVOICE_TO_LOCATION>
<INVOICE_TO>ALLSTATE INSURANCE COMPANY</INVOICE_TO>
<INVOICE_TO_ACCOUNT_NUMBER>103736</INVOICE_TO_ACCOUNT_NUMBER>
<INVOICE_TO_ADDRESS1>2775 SANDERS RD</INVOICE_TO_ADDRESS1>
<INVOICE_TO_ADDRESS2 />
<INVOICE_TO_ADDRESS3 />
<INVOICE_TO_ADDRESS4 />
<INVOICE_TO_EMAIL />
<INVOICE_TO_PHONE_NUMBER>847-402-0223</INVOICE_TO_PHONE_NUMBER>
<INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</INVOICE_TO_ADDRESS5>
<INVOICE_TO_CONTACT>CRAIG SOCKEL</INVOICE_TO_CONTACT>
<L_INVOICE_TO_LOCATION>10110384</L_INVOICE_TO_LOCATION>
<L_INVOICE_TO_ACCOUNT_NUMBER>103736</L_INVOICE_TO_ACCOUNT_NUMBER>
<L_INVOICE_TO>ALLSTATE INSURANCE COMPANY</L_INVOICE_TO>
<L_INVOICE_TO_ADDRESS1>2775 SANDERS RD</L_INVOICE_TO_ADDRESS1>
<L_INVOICE_TO_ADDRESS2 />
<L_INVOICE_TO_ADDRESS3 />
<L_INVOICE_TO_ADDRESS4 />
<L_INVOICE_TO_EMAIL />
<L_INVOICE_TO_PHONE_NUMBER>847-402-0223</L_INVOICE_TO_PHONE_NUMBER>
<L_INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</L_INVOICE_TO_ADDRESS5>
<L_INVOICE_TO_CONTACT>CRAIG SOCKEL</L_INVOICE_TO_CONTACT>
<SHIP_TO_ACCOUNT_NUMBER>103736</SHIP_TO_ACCOUNT_NUMBER>
<SHIP_TO>ALLSTATE INSURANCE COMPANY</SHIP_TO>
<SHIP_TO_LOCATION>10271260</SHIP_TO_LOCATION>
<SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</SHIP_TO_ADDRESS1>
<SHIP_TO_ADDRESS2 />
<SHIP_TO_ADDRESS3 />
<SHIP_TO_ADDRESS4 />
<SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</SHIP_TO_ADDRESS>
<SHIP_EMAIL>[email protected]</SHIP_EMAIL>
<SHIP_TO_PHONE_NUMBER>847-402-0223</SHIP_TO_PHONE_NUMBER>
<SHIP_TO_CONTACT>ORLANDO LOPEZ</SHIP_TO_CONTACT>
<L_SHIP_TO_ACCOUNT_NUMBER>103736</L_SHIP_TO_ACCOUNT_NUMBER>
<L_SHIP_TO>ALLSTATE INSURANCE COMPANY</L_SHIP_TO>
<L_SHIP_TO_LOCATION>10271260</L_SHIP_TO_LOCATION>
<L_SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</L_SHIP_TO_ADDRESS1>
<L_SHIP_TO_ADDRESS2 />
<L_SHIP_TO_ADDRESS3 />
<L_SHIP_TO_ADDRESS4 />
<L_SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</L_SHIP_TO_ADDRESS>
<L_SHIP_EMAIL>[email protected]</L_SHIP_EMAIL>
<L_SHIP_TO_PHONE_NUMBER>847-402-0223</L_SHIP_TO_PHONE_NUMBER>
<L_SHIP_TO_CONTACT>ORLANDO LOPEZ</L_SHIP_TO_CONTACT>
<DEL_TO_ACCOUNT_NUMBER>103736</DEL_TO_ACCOUNT_NUMBER>
<DEL_TO>ALLSTATE INSURANCE COMPANY</DEL_TO>
<DEL_TO_LOCATION>10110327</DEL_TO_LOCATION>
<DEL_TO_ADDRESS1>3075 SANDERS RD</DEL_TO_ADDRESS1>
<DEL_TO_ADDRESS2 />
<DEL_TO_ADDRESS3 />
<DEL_TO_ADDRESS4 />
<DEL_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</DEL_TO_ADDRESS>
<DEL_TO_EMAIL />
<DEL_TO_PHONE_NUMBER>847-402-0223</DEL_TO_PHONE_NUMBER>
<DEL_TO_CONTACT />
<UNIT_SELLING_PRICE>880</UNIT_SELLING_PRICE>
<BILL_TO_LAST_UPDATE>21/04/2009 02:25:18PM</BILL_TO_LAST_UPDATE>
<SHIP_TO_LAST_UPDATE>13/07/2009 01:31:45PM</SHIP_TO_LAST_UPDATE>
<BILL_TO_UPDATED_BY>SLUMPP</BILL_TO_UPDATED_BY>
<SHIP_TO_UPDATED_BY>CTYNER</SHIP_TO_UPDATED_BY>
<ORDER_QUOTE_USER>CTYNER</ORDER_QUOTE_USER>
<PARTICIPANTS>Conley, Michael Order:159044 100% and Conley, Michael Order:159038 100% and Conley, Michael Quote:1443 50% and Jones, Maureen Quote:1443 50%</PARTICIPANTS>
<ORDERED_DATE>07/13/2009 02:23:23PM</ORDERED_DATE>
<BOOKED_DATE>07/13/2009 02:31:15PM</BOOKED_DATE>
<ORDER_QUOTE_STATUS>BOOKED</ORDER_QUOTE_STATUS>
<ORDER_USER_STATUS>RE-BOOK REQD</ORDER_USER_STATUS>
<BUYER>Tyner, Chris</BUYER>
<SERIAL_NUM>45784687</SERIAL_NUM>
<INVOICE_HANDLING_FORMAT_VALUE />
<INVOICE_HANDLING_FORMAT />
<PRINT_TRADE_NAME_VALUE>No</PRINT_TRADE_NAME_VALUE>
<ITEM_EXTD_COST>800</ITEM_EXTD_COST>
<QUOTE_APPROVERS>Tyner, Chris</QUOTE_APPROVERS>
</G_FORX_OPS_QTE_ORDER_LINES> -
How can I Move data from one column to another in my access table?
I have two columns, one that stores current month’s data and one that stores last month’s data. Every month data from column 2 (this month’s data) needs to be moved to column 1 that holds last month’s data. I then null out column 2 so I can accumulates this month’s data.
I understand how to drop a column or add a column, how do I transfer data from one column to another.
Here is my trial code:
<cfquery name="qQueryChangeColumnName" datasource="#dsn#">
ALTER TABLE leaderboard
UPDATE leaderboard SET points2 = points3
</cfquery>
Unfortunately, I get the following error:
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in ALTER TABLE statement.
How can I transfer my data with the alter table method?I looked up the Access SQL reference (which is probably a
good place to start when having issues with Access SQL), and
it suggests you probably need a WHERE clause in there.
I agree the documentation is a good place to start. But you should not need a WHERE clause here.
Too few parameters. Expected 1.
If you run the SQL directly in Access, what are the results? At the very least, it should provide a more informative error message.. -
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Report not displaying data from one of the infoproviders
Hi Experts,
Issue: Report not displaying data from one of the infoproviders
I have a report 'ReportA' which has multiprovider MP1 as the source.
MP1 has two Infocubes IC1, IC2 in its design.
Now, when i execute the report, data from IC1 is displayed. But no data from IC2 is displayed.
Is there a setting i need to enable in MP1 ? or is there anything else that needs to be enabled ?
Please reply.
Regards,
Suraj S NairHi All,
When i display data directly from the multi provider, without any restrictions, i cannot view the data from infocube IC2.
I feel its not an issue with the Query. It must be a problem with the setting in the Multiprovider MP1.
Infocube IC2 is a copy of Infocube IC1. Multiprovider MP1 first only had IC1 in its design. It was recently IC2 was also included.
I checked the Characteristics, all of them are assigned corectly.
Now, this issue sure has something to do wiht the setting of Multiprovider or please correct me if wrong.
Regards,
Suraj S Nair -
How to create combobox to display more than one columns
I need kind help with the following question. As the combobox includes two pieces--textbox and the combobox list. Then how to create a combo box bean, which is based on table EMP(empno number(6), ename varchar2(40)) records for example, to achieve these features:
1) allow more than one columns to be displayed in its records list--e.g., I need to show these records:
empno (value) ename (label)
103 David M Baker
104 David M Baker
105 Kelly J Volpe
106 Krista F Carpenter
107 Michelle P Silverman
The two 'David M Baker's are different employees, but unfortunately, with the same name.
2) allow combo box list to return the column value 'empno' even though it shows both columns as above. i.e., if user picks the second record above, then the combobox list returns 104 to the textbox in the background, but the 'David M Baker' is displayed on the textbox. Of course the combobox list may return 'David M Baker' if needed when there is only one column in the list as the current standard feature.
3)allow partial match search by typing in some letters. i.e., if user types in the textbox of the combobox letter 'K' or 'k' then the partially matched records
105 Kelly J Volpe
106 Krista F Carpenter
should be automatically displayed in the combobox list, not the whole list as above; then user may double click to choose one of the two or if user continues to type in 'R' or 'r', then the uniquely matched record 'Krista F Carpenter' is displayed in the textbox and the 106 is returned to the textbox.
4) as a bonus if it's doable, allow combobox to return values to different textboxes when its records list has more than one columns.
The reason I need these features is that I am working on the project migrated from Microsoft Access applications to centralized Java version web application. We at beginning promised to users community that Java swing will provide all the GUI user friendly features Microsoft Access has, but now we got stucked--we ate our words and got tons of complains from our users community. This is just the most needed component I posted here. I really hope that Java would add all the default GUI user-friendly features to compete with MS since its Win95 GUI has been accepted as industry standard. And most users are used to it. They claimed that they don't know and don't care what tool you use the newly created application should be more user friendly, not the opposite.
I would be very much appreciated if any one would help me with this item.Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room. -
Displaying more than one column in TreeControl
Hi,
I have three tables ( LaborOperation, LaborIndex, LaborData). In TreeControl, i am displaying the following table columns,
LaborOperation ->operationid,
LaborIndex -> indexid,
LaborData -> date, value.
i want to be like this.
+ Operation Id(Single Column)
+ OperationIndex(Single Column)
-OperationData(Multiple Column)
I can able to display single column values in tree control by setting the nodedifinition property in tree control. i can't able to display more than one column in tree control.
any idea about this problem
thanks in advance.
-NainarArun Prasath wrote:
I want to display more than one row in a multiple columns of a single row.
For example,
In oracle apps, there are multiple tax lines for a single invoice. Each tax lines having their own entry in tax detail table.
When i try to display a single invoice's details in a single row i found the difficulty.Hmm did you see the title of the forum? Oracle Database » General Questions !
May be you want to check the Oracle Apps forum?
Aman.... -
How to display more than one column with for each
Hi guys,
how to display more than one column with for each like below?
for each
Item1
Item2
Item3
Item4
Item5
Item6
Item7
Item8
Item9
Item10
End for each
for each
Item1 Item2 Item3
Item4 Item5 Item6
Item7 Item8 Item9
Item10
End for eachTake a look at this to see if the solution provided would work for you: https://blogs.oracle.com/xmlpublisher/entry/multi_column_row_woes
Won't you have more than 10 records in your data file ? If you are going to have only 10 items then you may be able to use position() function to limit it to 3 each..
Take a look at this: https://blogs.oracle.com/xmlpublisher/entry/turning_rows_into_columns
Thanks,
Bipuser -
How to copy data from one column to other column
hi,
can any one tell me how to copy data of one column to other column for some specific data
example
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120
p002 2007 90 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
i want to copy data of p001 and p002 from prevplansales to current plansales
productno ocalyear actualsales prevplansales currentplansales
p001 2007 100 120 120
p002 2007 90 100 100
p003 2007 120 130
p004 2007 140 120
p005 2007 150 150
is it possible to do?
please suggest me.
i will assign pointsHi,
I think the needed techniques are already described in the documentation, e.g. in
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
or
http://help.sap.com/saphelp_nw70/helpdata/en/45/e641e4c61256dee10000000a114a6b/frameset.htm
The main techiques used in the above example to bind the filter of the planning function to selected (marked) objects in the analysis item or to drop down boxes (or both). These techniques are used in the above examples.
Regards,
Gregor -
Display More then one column in to POP LIST OF VALUE Item
Dear All,
i want to display More then one column in to POP LIST OF VALUE Item like POINTNO,CITY_NAME,REGION_NAME,POSTEL_CODE .
How can i display these 5 Column in to POP UP LIST OF VALUE Item.
Thanks
VedantHi,
Here is my example how to get the address data from address book:
on page, where is the IR report with many columns (as a popup page) there is a Column Link of URL type - you can choose any colulmn .
In the URL address type: javascript:passBack('#ID#', '#NAME#', '#SURENAME#', '#COMPANY#', '#STREET#', '#CITY#', '#POSTAL_CODE#', '#STATE#' );self.close();
self.close function close the popup after fetch.
It will call a passBack function declared in page header.
Example:
<script language = "JavaScript">
function passBack(v_addr_id, v_name, v_suren, v_comp, v_street, v_city, v_postal_code, v_state) {
opener.document.getElementById('P2_ADDRESS_ID').value = v_addr_id;
opener.document.getElementById('P2_ADR_NAME').value = v_name;
opener.document.getElementById('P2_ADR_SURENAME').value = v_suren;
opener.document.getElementById('P2_ADR_COMPANY').value = v_comp;
opener.document.getElementById('P2_ADR_STREET').value = v_street;
opener.document.getElementById('P2_ADR_CITY').value = v_city;
opener.document.getElementById('P2_ADR_POSTAL_CODE').value = v_postal_code;
opener.document.getElementById('P2_ADR_STATE').value = v_state;
</script>
If you want set only one value, just make a similar function with only one parameter.
I hope it will help to you
J -
Not able to display data in different columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.Hi Venkat,
After extracting data into DSO check the request whether active or not.
Check data in DSO in contents.
If is there any restrictions on info providers in Queries.
Let us know status clearly.......
Reg
Pra -
OAF Export button fetching data in one column - view object using union all
Dear All,
Export button showing data in one column from view object,
View object is based on mulitple queries with union all ,
Please let me know the solution for this issue.
Thanks
Maheswara RajuMaheswara Raju,
As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
Cheers
Gyan -
Conversion puts all data in one column
conversion puts all data in one column on excel
ok i created my own function
CREATE OR REPLACE TYPE t_varchar2_tab AS TABLE OF VARCHAR2(4000);
CREATE OR REPLACE FUNCTION tab_to_string (p_varchar2_tab IN t_varchar2_tab,
p_delimiter IN VARCHAR2 DEFAULT ',') RETURN VARCHAR2 IS
l_string VARCHAR2(32767);
BEGIN
FOR i IN p_varchar2_tab.FIRST .. p_varchar2_tab.LAST LOOP
IF i != p_varchar2_tab.FIRST THEN
l_string := l_string || p_delimiter;
END IF;
l_string := l_string || p_varchar2_tab(i);
END LOOP;
RETURN l_string;
END tab_to_string; -
Need to display date result but has to exclude sat & sun day
Hi all,
I need to display date (A), from the plan date (B) for qty more than 10, but the result of A, should be B -10 and should not include sat & sunday.
I managed to do in excel but I have problem in oracle sql here.
My quote in excel, =IF(qty<=10, WORKDAY(plan_date,-5), WORKDAY(plan_date,-10))
If qty=12, plan_date is 30/05/11, the result is 16/05/11
qty=2, plan_date is 30/05/11, the result is 23/05/11
Anyone can help me to quote in SQL ?
Thanks.
LimCREATE OR REPLACE FUNCTION GOKHAN.business_date (start_date DATE, days NUMBER)
RETURN DATE
IS
counter number := 0;
curdate DATE:= start_date;
BEGIN
WHILE counter < days
LOOP
curdate := curdate - 1;
IF TO_CHAR (curdate, 'D') BETWEEN 1 AND 5
THEN
dbms_output.put_line( curdate || ' ' || TO_CHAR (curdate, 'D'));
counter := counter + 1;
END IF;
END LOOP;
RETURN curdate;
END;
with t as (
select to_date('30/05/11','DD/MM/YY' ) plan_date, 12 qty from dual
union all
select to_date('30/05/11','DD/MM/YY' ) , 2 from dual
select qty, case when qty <= 10 then business_date( plan_date, 5 ) else business_date( plan_date, 10 ) end plan_date from t;
QTY PLAN_DATE
12 16/05/2011
2 23/05/2011Best Regards,
Gokhan Atil
If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks -
Need Parked amounts in a separate column in reports
Hai Experts,
I need your help. This is my requirement Need Parked amounts in a separate column in reports.
How to deal with this issue?
Could you please tell me step by step solved this solution.
Advanced thanks,
Regards,
Sathis.JHi,
as you don't have a separate keyfigure for this you need to create a restricted keyfigure. Identify the characteristic value that is relevant for a parked amount and restrict your amount by this value.
kind regards
Siggi
Maybe you are looking for
-
How to open .exe files in my macbook
Until now everything was always fine. But lately whenever i put my flashdrives into my MacPro, every folders seem to be unable to open because it is in format .exe then it is opened in TextEdit application How can I deal with this, I'm not sure I've
-
Why Does PE12 Misplace Added Overlay?
The project is pro-bono for the University of Maine's Surveying Engineering Technologies department and the Screencast-O-Matic clip fills up most of the frame with a much smaller picture-in-picture clip of the instructor should any of that matter. Th
-
I have a T410s i5 at 2.4 GHz running Win 7 64bit purchased last year. The HD is a 250 GB Toshiba MK2529GSG running NTFS. My computer has been suffering lately from sluggish response especially when typing input in email or Word, etc. I see the HD
-
Access all my images on iphone
How can I access all my images in my iPhone? For reasons beyond explaining I don't have all the images on my desktop and Aperture only let's me import the last 29 images, but I need to access all 400+. Little help?
-
Hi. I can't find the Youtube app on my iPhone. When I go to AppStore to download it, the download button is grey as if I have it. Same goes for few other apps that I downloaded in my ipad. I have only 2 apps pages on the iPhone. Any ideas?