How to remove repeated values
How to remove the repetition of values for a particular column ?
eg:
product brand date
laptop hp 8/1/2013
laptop dell 8/1/2013
laptop hp 8/1/2013
I don't want " laptop" to appear thrice
Hi,
Go to Product Column Properties >> click on column format >> there u can see two radio buttons Suppress and Repeat >> click on suppress radio button >>
click OK >> click on results tab >> there u can see the only one laptop under product column.
Mark If Helpful/correct.
Thanks.
Similar Messages
-
Everyone is how to delete repeating values?
There is a column,values are repeated,everyone is how to delete repeating values?
Assuming that this set of numerical many, can not directly determine whether there is a duplicate value.
Thank you~
Message was edited by: Tao.
Message was edited by: Tao.Hi Tao,
I've found that a short AppleScript provides a convenient way to identify duplicates (repeating values) in a range.
Just select the range of cells you want to check for duplicates and click. It will turn the duplicates red.
--select range, run, turns duplicates red
tell application "Numbers" to tell front document to tell active sheet
set selected_table to first table whose class of selection range is range
tell selected_table
set selected_range to the selection range
tell selected_range
set values_list to {}
repeat with i from 1 to count cells
set this_value to value of cell i as text
if values_list contains this_value then set text color of cell i to "red"
set end of values_list to this_value
end repeat
end tell
end tell
end tell
--end of script
Just copy and paste the above script into AppleScript Editor, and run it from there. Or place it in your scripts menu. Or download this Automator Service (Dropbox download) and double-click it to install it in your Services menu.
Similarly, if you want to get a list of just the distinct values in a range (i.e. with duplicates removed) this Copy Distinct Automator Service (Dropbox download) is very convenient.
Select the cells, make the menu pick, then paste the distinct values wherever you want in a table by single-clicking a cell and typing command-v to paste.
These functions become, in essence, a customized menu. That way you don't have to set up formulas to do this each time you work with a new Numbers document.
SG -
How do remove commitment value in the PO ? any SAP note avl?
Hi,
Project (WBS)releated service PO (Account assignment category P and Item category D), in which SES,GR,IR have been completed for entire Project services for the year 2005,PO history also updatd for SES, GR,IR in the 2005 only.But Now system is showing still commitment value in the PO for the year 2009?.
Henece how do remove the inconsistency of the commitment value in the PO for the year 2009?. (i.e value is comming from COOI table entry).Is there any SAP NOTEs are available for this case?
Note:
But this case no PR has been refered in the PO. PO has been directly created, and PO QTY,Value changes have not been done after SES,GR,IR completion.
But still system commitment value is showing in the PO for the year 2009, so HOW do remove the value?
i am looking suitable answers.
Regards,
kumarHi,
Pre-requisites for a commitment update are:
o In transaction OKKP, the commitment management indicator must be
active for the given controlling area in the current fiscal year.
The controlling area is the highest organizational unit in Controlling,
however this area is missing from the accounting data of the PO.
o The accounting objects must be active for commitments:
- Work orders: The commitment management indicator must be set
in transaction KOT2 for the given order type.
- Cost centers: In transaction KS02, in register "Control", the
commitment update indicator must NOT be set.
- Projects: see note 47992
o In transaction CUNI, the unit of measurements used at item level
must be set to value based commitment.
Please check the following notes 152571, 634298, 459509 and
772206 carefully and also 165823.
Please check also if the "delivery complete" indicator is set in the PO item (see note 735404).
Usually for service POs the "Delivery completed" indicator will be
hidden and this indicator is fully controlled by the "final entry
sheet" indicator in ML81N. You must allow to set this indicator trough a field selection customizing for your PO item.
Regards,
Edit -
How to remove repeated mails in exchange online outlook web app
Hi,
Any help me , how to remove repeated mails in exchange online outlook web app . As we are in process of migrating mailboxes to office 365 . We have migrated 5 mailboxes . But when i checked outlook web app after migration completed , i could see repeated
mails . When i compared with on premise outlook and office 365 outlook web app , there was lot of differences in read and unread mails .
Customer is expecting , same read and unread count should be replicated to office 365 owa.
Please suggest me to prevent this problem . As this is very urgent to give solution to customer .
Big thanks in advance.
Vinoth .If you've setup Outlook 2013 so it's connected to Office 365, and you've import the .pst file into Outlook, it will be showing as another "mailbox" within Outlook, but default called "Personal Folders" (unless you renamed it when it was created).
You should find that you can simply copy the mail items / folders from Personal Folders into their new home in the Office 365 mailbox. Once that's done Outlook will synchronise the items with o365 which may obviously take a while to complete, but once it's
finished those messages will be available online. -
How to remove a value from a vector of vectors
How can I remove a value from a vector inside another vector, say;
Vector myvector= new Vector();
Vector data= new Vector();
myvector.addElement(rs.getString(1));
myvector.addElement(rs.getString(2));
myvector.addElement(rs.getString(3));
data.addElement(myvector);
I want to get an element in the Vector "myvector" at index 2.import java.util.*;
public class Test {
public static void main(String args[]) {
Vector myvector= new Vector();
Vector data= new Vector();
myvector.addElement("Zero");
myvector.addElement("One");
myvector.addElement("Two");
data.addElement(myvector);
System.out.println("main vector initially contains:" + data);
myvector.remove(1);
System.out.println("main vector now contains:" + data);
}Output:
main vector initially contains:[[Zero, One, Two]]
main vector now contains:[[Zero, Two]]
Just to be sure I was correct in the first place. Perhaps you should have done likewise before continuing stick to your guns. -
ComboBox Item How to remove repeating items that came from an entity of a .dbf database
Hi all,
Can somebody help me? What I want to happen is create a ComboBox Item from a .dbf database, the PMXMON contains each product's monthly data. Here's a screenshot of the output:
Is there a way to remove repeating items without changing the database contents?
I have this code:
Private Sub frmYearMonth_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim conn As New System.Data.Odbc.OdbcConnection("Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=C:\;Exclusive=No")
conn.Open()
Dim strQuery As String = "SELECT * FROM CSHPMXP1"
Dim adapter As New System.Data.Odbc.OdbcDataAdapter(strQuery, conn)
Dim ds As New System.Data.DataSet()
adapter.Fill(ds, "PMXMON")
With ComboBox1
.DataSource = ds.Tables("PMXMON")
.DisplayMember = "PMXMON"
.ValueMember = "PMXMON"
.SelectedIndex = 0
.Text = "--YYYYmm--"
End With
End Sub
Thanks :)
GeeeYou can use Distinct keyword to return unique records from your DB.
On the side I'm not seeing any informative value in your Comobox, if you trying to show product monthly data.
SELECT Distinct PMXMON
FROM CSHPMXP1
Fouad Roumieh -
How to remove null values from list?
I had created a list in forms 6i and I am getting list values at run time using add_list_item function. The problem is I am getting null value at end of the list. In the property pallet I kept required yes and set the initial value but it is not removing null value. Can any one help me. Thank you.......
Hello
Sorry mis-read question on first reply.
1. Have you set a default value?
2. Is this default value still in your list?
3. What happens if you default the list's value to a value you know exists after you have populated it?
Cheers
Q
Message was edited by:
Q_STEPHENSON -
How to remove precision value in oracle table
Hi,
I have created one table ,that table contains 40 million records and some of the columns containing precision values and the columns are of datatype is NUMBER...
I need to remove precision values of those columns for 40 millions records which ever contains ,If I use update truncate scripts it's taking so long time to update ( for .eg. more than 2 weak to update --- update table_name set transaction_id=trunc(transaction_id) ).Is there any other way...
so can you please suggest ....
Thanks,
vidhyahi marcopb,
Below I have mentioned some columns in bold, which i am updating . yes it's taking to update more than 2 weak not yet finished...
My update script is Update Inv.Mtl_Material_Transactions Set Transaction_Id=Trunc(Transaction_Id),Transaction_Action_Id=Trunc(Transaction_Action_Id),
Transaction_Source_Id=Trunc(Transaction_Source_Id),Rcv_Transaction_Id =Trunc(Rcv_Transaction_Id );
describe mtl_material_transactions;
Name Null Type
TRANSACTION_ID NOT NULL NUMBER
LAST_UPDATE_DATE NOT NULL DATE
LAST_UPDATED_BY NOT NULL NUMBER
CREATION_DATE NOT NULL DATE
CREATED_BY NOT NULL NUMBER
LAST_UPDATE_LOGIN NUMBER
REQUEST_ID NUMBER
PROGRAM_APPLICATION_ID NUMBER
PROGRAM_ID NUMBER
PROGRAM_UPDATE_DATE DATE
INVENTORY_ITEM_ID NOT NULL NUMBER
REVISION VARCHAR2(3)
ORGANIZATION_ID NOT NULL NUMBER
SUBINVENTORY_CODE VARCHAR2(10)
LOCATOR_ID NUMBER
TRANSACTION_TYPE_ID NOT NULL NUMBER
TRANSACTION_ACTION_ID NOT NULL NUMBER
TRANSACTION_SOURCE_TYPE_ID NOT NULL NUMBER
TRANSACTION_SOURCE_ID NUMBER
TRANSACTION_SOURCE_NAME VARCHAR2(30)
TRANSACTION_QUANTITY NOT NULL NUMBER
TRANSACTION_UOM NOT NULL VARCHAR2(3)
PRIMARY_QUANTITY NOT NULL NUMBER
TRANSACTION_DATE NOT NULL DATE
VARIANCE_AMOUNT NUMBER
ACCT_PERIOD_ID NUMBER
TRANSACTION_REFERENCE VARCHAR2(240)
REASON_ID NUMBER
DISTRIBUTION_ACCOUNT_ID NUMBER
ENCUMBRANCE_ACCOUNT NUMBER
ENCUMBRANCE_AMOUNT NUMBER
COST_UPDATE_ID NUMBER
COSTED_FLAG VARCHAR2(1)
INVOICED_FLAG VARCHAR2(1)
ACTUAL_COST NUMBER
TRANSACTION_COST NUMBER
PRIOR_COST NUMBER
NEW_COST NUMBER
CURRENCY_CODE VARCHAR2(10)
CURRENCY_CONVERSION_RATE NUMBER
CURRENCY_CONVERSION_TYPE VARCHAR2(30)
CURRENCY_CONVERSION_DATE DATE
USSGL_TRANSACTION_CODE VARCHAR2(30)
QUANTITY_ADJUSTED NUMBER
EMPLOYEE_CODE VARCHAR2(10)
DEPARTMENT_ID NUMBER
OPERATION_SEQ_NUM NUMBER
MASTER_SCHEDULE_UPDATE_CODE VARCHAR2(10)
RECEIVING_DOCUMENT VARCHAR2(10)
PICKING_LINE_ID NUMBER
TRX_SOURCE_LINE_ID NUMBER
TRX_SOURCE_DELIVERY_ID NUMBER
REPETITIVE_LINE_ID NUMBER
PHYSICAL_ADJUSTMENT_ID NUMBER
CYCLE_COUNT_ID NUMBER
RMA_LINE_ID NUMBER
TRANSFER_TRANSACTION_ID NUMBER
TRANSACTION_SET_ID NUMBER
RCV_TRANSACTION_ID NUMBER
MOVE_TRANSACTION_ID NUMBER
COMPLETION_TRANSACTION_ID NUMBER
SOURCE_CODE VARCHAR2(30)
SOURCE_LINE_ID NUMBER
VENDOR_LOT_NUMBER VARCHAR2(30)
TRANSFER_ORGANIZATION_ID NUMBER
TRANSFER_SUBINVENTORY VARCHAR2(10)
TRANSFER_LOCATOR_ID NUMBER
SHIPMENT_NUMBER VARCHAR2(30)
TRANSFER_COST NUMBER
TRANSPORTATION_DIST_ACCOUNT NUMBER
TRANSPORTATION_COST NUMBER
TRANSFER_COST_DIST_ACCOUNT NUMBER
WAYBILL_AIRBILL VARCHAR2(20)
FREIGHT_CODE VARCHAR2(30)
NUMBER_OF_CONTAINERS NUMBER
VALUE_CHANGE NUMBER
PERCENTAGE_CHANGE NUMBER
ATTRIBUTE_CATEGORY VARCHAR2(30)
ATTRIBUTE1 VARCHAR2(150)
ATTRIBUTE2 VARCHAR2(150)
ATTRIBUTE3 VARCHAR2(150)
ATTRIBUTE4 VARCHAR2(150)
ATTRIBUTE5 VARCHAR2(150)
ATTRIBUTE6 VARCHAR2(150)
ATTRIBUTE7 VARCHAR2(150)
ATTRIBUTE8 VARCHAR2(150)
ATTRIBUTE9 VARCHAR2(150)
ATTRIBUTE10 VARCHAR2(150)
ATTRIBUTE11 VARCHAR2(150)
ATTRIBUTE12 VARCHAR2(150)
ATTRIBUTE13 VARCHAR2(150)
ATTRIBUTE14 VARCHAR2(150)
ATTRIBUTE15 VARCHAR2(150)
MOVEMENT_ID NUMBER
TRANSACTION_GROUP_ID NUMBER
TASK_ID NUMBER(15)
TO_TASK_ID NUMBER(15)
Thanks,
vidhya -
How to remove unassigned(#) value in bex report in 04s
Any help on hiding/ removing unassigned(#) value in bex report in 04s , the query is created on an infoset( left outer join).
you can exclude # in your restriction...
assign points if it helps -
How to remove default value from table definition?
Hi,
running 9.2
Following problem :
I need to remove default value from table.
Example
CREATE TABLE MY_TABLE(
NAME VARCHAR2(50) DEFAULT 'NAME',
AGE NUMBER DEFAULT 0
Now even when I use MODIFY like
ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
The default is still there:
SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
Is there any way?
ThanksThanks,
found the answer. It is not possible!!!!
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
Note:
If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL -
Removing repeat value in smartforms different window
when i am using this code in smart forms with code option and using these( wjominy-VERWMERKM ,WJOMINY-ORIGINAL_INPUT) variable in ten different window for taking output for different condition the value showing in ten different window is right means if ten different value is coming it should show all value in ten different window but if only one value is available it should show only once .
but this code is showing one value in all window means it is repeating single value in all widndow but my requirement is it should show only once if it is repeat value .
pls help me in solving this issue.
CLEAR : IQAMV,IQAMR.
LOOP AT IQAMV.
IF IQAMV-VERWMERKM = 'J_1.5' OR IQAMV-VERWMERKM = 'J_3'
OR IQAMV-VERWMERKM = 'J_4' OR IQAMV-VERWMERKM = 'J_5'
OR IQAMV-VERWMERKM = 'J_7' OR IQAMV-VERWMERKM = 'J_8'
OR IQAMV-VERWMERKM = 'J_9' OR IQAMV-VERWMERKM = 'J_10'
OR IQAMV-VERWMERKM = 'J_11' OR IQAMV-VERWMERKM = 'J_13'
OR IQAMV-VERWMERKM = 'J_15' OR IQAMV-VERWMERKM = 'J_20'
OR IQAMV-VERWMERKM = 'J_25' OR IQAMV-VERWMERKM = 'J_30'
OR IQAMV-VERWMERKM = 'J_35' OR IQAMV-VERWMERKM = 'J_40'
OR IQAMV-VERWMERKM = 'J_50' OR IQAMV-VERWMERKM = 'J_1/16'
OR IQAMV-VERWMERKM = 'J_3/16' OR IQAMV-VERWMERKM = 'J_4/16'
OR IQAMV-VERWMERKM = 'J_6/16' OR IQAMV-VERWMERKM = 'J_7/16'
OR IQAMV-VERWMERKM = 'J_2' OR IQAMV-VERWMERKM = 'J_5/16'
OR IQAMV-VERWMERKM = 'J_8/16' OR IQAMV-VERWMERKM = 'J_9/16'
OR IQAMV-VERWMERKM = 'J_6' OR IQAMV-VERWMERKM = 'J_10/16'
READ TABLE IQAMR WITH KEY MERKNR = IQAMV-MERKNR.
IF SY-SUBRC = 0.
IF IQAMR-ORIGINAL_INPUT IS NOT INITIAL.
replace '_' in IQAMV-VERWMERKM with '=' .
wjominy-VERWMERKM = IQAMV-VERWMERKM.
WJOMINY-ORIGINAL_INPUT = IQAMR-ORIGINAL_INPUT.
APPEND WJOMINY TO IJOMINY.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.thanks jayathi.
BTW did you test this example with records exceeding single page.I actually coded the table in the same manner.But it does not work.
Anyhow, i solved the problem using a work around. I added a window to the next page with check box 'not on first page ' ticked. -
How to remove all values from column
Hi all
I have one table and in that i have one column which contain some null value.now i want add a not null constraint on that column but it already contain null values.
how shuld i delete that column value only or how should i proceed now please help meWhat do you mean by REMOVE?
All values for that column are null or not? if not, then can those value removable?
NULL means no value, how can you remove non-existing value?
Update the null column to default value is one way.
the other is to drop the column and add it again together with your not -null constraint.
But I definitely wouldn`t recommend this approach in your case since some of your records have values for that column. -
How to remove Variable-Values prior to transporting to prod-system?
Hi specialists,
I've got the following problem:
We've got a mixed BEx-client-environment with user using BEx 3.5 as well as BEx 7.x.
So I create workbooks with BEx-Analyzer 3.5 and transport them from the developement-system to the production-system.
The problem: Obviously the variable-selection that I used at last in the developement-system is saved in the workbook. So let's say I tested the query in the dev-system with "DE01" as value for the company_code on the variable screen, then this value is saved in the workbook and transported to the prod-system.
In the production-system the value is not replaced anymore by the users permitted company-code values (the variable is based on the users permissions), but the user has to remove this "DE01" manually and has to enter all his personal company-codes manually - which makes the permission-bases-variable senseless.
Even if I clear all variable-values in the developement system (which is not possible for mandatory variables) prior to saving the workbook, the issue is the same: This time empty fields are presented in the prod-system, but the permission-based-variable isn't set correctly - the field stays empty (=exactly as it was when I saved the workbook in the dev-system).
So, how can I clear the variable-screen-values before I save and transport the workbook to the prod-system? The only way (and it is certainly not the recommended one) i found: If I cancel the query at once after having confirmed the variable-screen and save/transport that query, then the variables seem to be really empty and the permission-based variables in the prod-system work.So, when user run the report in production, they will have to remove # for mandatory variables and put thier value.
Mh - most of our reports have variables for "company_code","sales_org" (for example).
Normaly this fields are not mandatory but optional.
But: Normaly if the user opens such a variable-screen (for the first time) the company_code and sales_org are preset according to the users permissions for this chars.
If I follow your description, then the variable-screen would open with "#" or "" - but wouldn't be replaced by the user's permitted values anymore :/ - hence the phone rings because the users didn't manage to restrict the variables to their permitted values.
Maybe this is a case for an oss-message for the area BW-BEX-ET-USAB Userability Frontend.... -
How to remove numeric value in the fields of a table
Environment: SQL Server 2008R2
Tools: MSMS
Code:
a. Table Definition
USE [DLPT_CMS1_RESTORE]
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
b. data
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293595,293595,293737,293737,293737,293737,293737,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841,'293841 I feel that the product should be more holistic'
,'293841 I would like for the customer support to give more immediate feedback'
,'293841 Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss',
293841,293841,293841,293841,293841,293841)
Challenge:
1. Delete / Remove login_ids from a string found in one or more of the fields in Mocha table
Example: the following string contains login_id '293841 I would like for the customer support to give more immediate feedback' , remove the login_id in the narrative field which could be PE4, PE22. or PE28
2. Count the response or narrative field for each column after the deletion is completed
My script and still working progress
SELECT * FROM MOCHA
WHERE ISNUMERIC(PE4) = 1 and [PE4] like '%[0-9]%'
Thanks for the supportI added a new data which shows inaccurate results using your last updated code. The mistake appears in the 3rd row culomn name PE25 is null but counts it as 1
CREATE TABLE [dbo].[Mocha]
[id] [int] IDENTITY(80,1) NOT NULL,
[Login_ID] [char](10) NULL,
[PE4] [varchar](8000) NULL,
[PE9] [varchar](8000) NULL,
[PE11] [varchar](8000) NULL,
[PE15] [varchar](8000) NULL,
[PE17] [varchar](8000) NULL,
[PE20] [varchar](8000) NULL,
[PE22] [varchar](8000) NULL,
[PE25] [varchar](8000) NULL,
[PE28] [varchar](8000) NULL,
[PE29] [varchar](8000) NULL,
[PE27] [varchar](8000) NULL
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293737,293737,293737,293737,NULL,293737,NULL,293737,'I dont think 12 week program is hard',293737,293737,'antiinflamatory- this helps to fight free radicals and ward off disease.')
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],
[PE15],[PE17]
,[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293841,293841,293841,293841
,'293841 I feel that the product should be more holistic'
,'%%293841%% I would like for the customer support to give more immediate feedback'
,'%%293841%% Fends off alzeimer disease and dementia. It has been proven to destroy the amaloid plaques that are believed to be a cause of dementia and memory loss'
,293841,NULL,NULL,293841,293841)
Insert into Mocha (Login_ID,[PE4],[PE9] ,[PE11],[PE15],[PE17],[PE20],[PE22],[PE25],[PE28], [PE29],[PE27])
Values (293735,'293735 my name',NULL,NULL,NULL,NULL,NULL,NULL,'%%293735%%I dont think',293735,293735,'this helps to fight free radicals and ward off disease')
select
Replace(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE4
,Replace(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE9
,Replace(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE11
,Replace(Replace([PE15],RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE15
,Replace(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','')PE17
,Replace(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE20
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE22
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE25
,Replace(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE28
,Replace(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''),'%','') PE29
,(case when len(PE4)-Len(Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe4] is null or Replace(PE4,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP4
,(case when len(PE9)-Len(Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe9] is null or Replace(PE9,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP9
,(case when len(PE9)-Len(Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe11] is null or Replace(PE11,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP11
,(case when len(PE15)-Len(Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe15] is null or Replace(PE15,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP15
,(case when len(PE17)-Len(Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe17] is null or Replace(PE17,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP17
,(case when len(PE20)-Len(Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe20] is null or Replace(PE20,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP20
,(case when len(PE22)-Len(Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe22] is null or Replace(PE22,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP22
,(case when len(PE25)-Len(Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe25] is null or Replace(PE25,RTRIM(Cast(Login_ID as varchar(10))), '') ='' Then 0 Else 1 End) cntP25
,(case when len(PE28)-Len(Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe28] is null or Replace(PE28,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP28
,(case when len(PE29)-Len(Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), ''))=0 or [pe29] is null or Replace(PE29,RTRIM(Cast(Login_ID as varchar(10))), '') =''Then 0 Else 1 End) cntP29
from mocha -
How to remove repeated header and print "No records" in report
Hi,
I have a problem with my output report it is repeating the header when no records was found. And does anyone knows how i can put "No records found" (when no record is found) in the output without the Total amount and Grand Total? Please refer to the attachent file for reference.
Thanks a lot! Hope someone can help me.
Cheers,
Jen
Report ID: CRMR2W26 PARTIAL LOAN PREPAYMENTT MONTHLY SUMMARY REPORT Report Date: 08/04/2008
For the month of March
SR Creator SR No. Sales Opty Id Cash Amount($) CPF Amount ($) CIF No. Customer Name Salesperson Name Domicile Branch SR Status
Domicile Description
Branch
Code
Total amount
Grand Amount
Page 1
Report ID: CRMR2W26 PARTIAL LOAN PREPAYMENTT MONTHLY SUMMARY REPORT Report Date: 08/04/2008
For the month of March
SR Creator SR No. Sales Opty Id Cash Amount($) CPF Amount ($) CIF No. Customer Name Salesperson Name Domicile Branch SR Status
Domicile Description
Branch
Code
No records extracted
Page 1
Message was edited by:
user618088This sounds like a Reports issue.
Perhaps you would be better asking in the Reports rather than the SQL and PL/SQL forum.
;)
Maybe you are looking for
-
Hi, I'm working on a Web App that fires some SQL that requires an "in list". Here is an example: "Select * from product where product_id in ('3423432','23432', '234324') The values in the "in list" are supplied by a user via a web form. I like to use
-
I am trying to add an XP netbook to sync. I go to tools/set up sync. Neither the Connect nor Create a New Account buttons work. (I tried the Create a New Account just to see if it works) The Cancel button does work. What is the problem?
-
I have a brand new iPad 4. I plugged in and it told me that there was new software available. I went to update it and now it tells me "unknown error 1656". Now the pad is in permanent recovery mode and I can't do anything with it. Any info?
-
Jar file for multiple client JRE version
I have two jar file. Fjtable.jar & fjtable16.jar fjtable.jar is for clients those who are using JRE 1.5 & fjtable16.jar is for jre 1.6 version client Users. both the jar file i have given in In formsweb.cfg : Archive = fjtable.jar , fjtable16.jar But
-
After Effects 8-bit depth question
Hey everyone, this is something i've just been wondering about. Correct me if i'm wrong but its my understanding that with 10-bit depth footage or higher After effects crunches it to 8-bit after the render/export. If that's the case then what is the