Concatinating values
Hi,
I have a report which I have to export to excel. I am getting data in this report from 3 tables for one Partner. Unique record id there in the master table, and in other 3 tables, for the same Partner there are multiple records.
When I write a query to fetch the data, I am getting many records for the same Partner. I am trying to concatenate different values and display all records in one line. How do I do this...
Please guide me on the same..
Regards,
Pa
Hi
first assign the prompts with presentation variable names, say var1, var2
Now in answers request, make one column edit it's functionality to *@{var1} || @{var2}*. you want space in between then add space also)
Now apply filter on that column...
Similar Messages
-
Hi all,
I have developed a smart form for Purchase order in that i am displaying header and item texts by passing text name, text object, text ID and language to include text.
My problem is when i am looking in print privew for just creating document (Which is not saved yet so then document number is not generated) then header text is commping perfectly(I am passing the document number to Text name but presently it is initial but it is comming perfectly) but item text is not comming (I am passing the concatinated value of document number and item number to text name).
Please suggest me how to display newly creating purchase documents item texts(No yet saved purchase orders).
If it is not possible why the header text is comming perfectly???
Thanks in advance,
Mahi.Hi kesav,
The text is not storing in STXH table because the document is not saved yet and the purchase document number is not generated yet. In the STXH table Text Name(Document number) is the key field so the text is not storing in that table.
My problem is not solved yet any body please suggest me how to display the item text in pring privew.
If it is not possible to display the text with out saving the PO why the header test is coming fine???
Mahi -
Concatinating Field value in Crystal report
hi all,
if we have four fields in report like
ItemCode Item Name Color Thickness
111 Abc Green 1
111 Abc Gray 1
111 Abc Pink 1
three fields itemcode,itemname and thickness are having same values but value in color filed is not same that why returning 3 rows.
But I want to show the result in One row as
ItemCode Item Name Color Thickness
111 Abc Green,Gray,Pink 1
How I can Do this.
Please Help Its Urgent
Thanks
NeetuGroup on Item Code and then create a string running total incuding a separator for the color in the details section and a display formula in the Group Footer to display the running total results. If there is going to be more than 1 Item Code in the report then you will need to create a formula to reset the running total value.
For example;
String Running Total in the details section;
WhilePrintingRecords;
stringvar clr:= clr + {color field} + ',';
mid(clr,length(clr)-1)
The last line will get rid of the comma separator at the end of the string.
Display Formula in the Group Footer;
WhilePrintingRecords;
stringvar clr;
{Item Code} + ' ' + {Item Name} + ' '+ clr + ' ' +
Reset Formula in the Group Header;
WhilePrintingRecords;
stringvar clr:= ''
Edited by: Graham Cunningham on Aug 1, 2008 7:48 AM -
Concatination of column values
WE WANT TO CHANGE THIS QUERY :
================================
select distinct ENTITLEMENT.ENTITLEMENT_ID as Entitlement_ID,
(SELECT APPLICATION.EXTRA_FIELD_2 FROM APPLICATION APPLICATION WHERE APPLICATION.APPLICATION_NAME=ENTITLEMENT.APPLICATION_NAME) AS APPLICATION_NAME,
ENTITLEMENT.MODULE_NAME as Module_Name,
ENTITLEMENT.SITE_NAME as Site_Name,
ENTITLEMENT.ENTITLEMENT_NAME as Responsibility_Name,
ENTITLEMENT.DESCRIPTION as Description,
ENTITLEMENT.TECHNICAL_DESCRIPTION as Technical_Description,
ENTITLEMENT.ENTITLEMENT_OWNER_GID as Entitlement_Owner,
(SELECT USR_DISPLAY_NAME FROM DEVT_OIM.USR USR WHERE USR.USR_LOGIN=ENTITLEMENT.ENTITLEMENT_OWNER_GID) as Entitlement_Owner_Name,
ENTITLEMENT.IT_SUPPORT_PERSON_GID as IT_Support,
(SELECT USR_DISPLAY_NAME FROM DEVT_OIM.USR USR WHERE USR.USR_LOGIN=ENTITLEMENT.IT_SUPPORT_PERSON_GID) as IT_Support_Name,
ENTITLEMENT.IT_PROCESSOR_GROUP as IT_Processor,
DECODE(ENTITLEMENT.SERVICE_ACCOUNT_FLAG, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Service_Account,
DECODE(ENTITLEMENT.COMPLIANCE_SENSITIVITY, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Compliance_Sensitivity,
ENTITLEMENT.DATA_CLASSIFICATION as Data_Classification,
DECODE(ENTITLEMENT.INISIDER_TRADING_LIST, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Insider_Trading,
TO_CHAR(ENTITLEMENT.LAST_REVIEWED_ON) as Last_Reviewed_On,
ENTITLEMENT.LAST_REVIEWED_BY as Last_Reviewed_By,
(SELECT USR_DISPLAY_NAME FROM DEVT_OIM.USR USR WHERE USR.USR_LOGIN=ENTITLEMENT.LAST_REVIEWED_BY) as Last_Reviewed_By_Name,
DECODE(ENTITLEMENT.PERIMETER_ACCESS, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Perimeter,
ENTITLEMENT.ROLE_ASSOCIATION as Role,
DECODE(ENTITLEMENT.AUTOMATIC_PROVISIONING, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Auto_Provisioning,
DECODE(ENTITLEMENT.ON_DEMAND_ENTITLEMENT, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as On_Demand,
DECODE(entitlement.is_entitlement_requestable, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as IS_REQUESTABLE,
DECODE(ENTITLEMENT.INISIDER_TRADING_LIST, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Insider_Trading,
DECODE(ENTITLEMENT.PROVISIONING_FLAG, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Provisioning_Flag,
DECODE(ENTITLEMENT.PERIMETER_ACCESS, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Perimeter_Role,
DECODE(ENTITLEMENT.IS_ENTITLEMENT_REQUESTABLE, 'TRUE','Yes', 'true', 'Yes', 'FALSE', 'No', 'false', 'No') as Is_Requestable
from EC_ADMIN.ENTITLEMENT ENTITLEMENT
where upper(ENTITLEMENT.ENTITLEMENT_NAME) like upper(NVL(:entitlementName,'%'))
and ENTITLEMENT.ENTITLEMENT_ID like NVL(:entitlementID,'%')
and (:applicationName = ' ' or ENTITLEMENT.APPLICATION_NAME like :applicationName)
and upper (ENTITLEMENT.SITE_NAME) like upper (NVL(:site,'%'))
and upper (ENTITLEMENT.MODULE_NAME) like upper (NVL(:module,'%'))
and upper (ENTITLEMENT.IT_PROCESSOR_GROUP) like upper (NVL(:itprocessor,'%'))
and upper (ENTITLEMENT.ENTITLEMENT_OWNER_GID) like upper (NVL(:owner,'%'))
and upper (ENTITLEMENT.IT_SUPPORT_PERSON_GID) like upper (NVL(:itsupport,'%'))
and upper (ENTITLEMENT.COMPLIANCE_SENSITIVITY) like upper (NVL(:copmSensitivity,'%'))
and upper (ENTITLEMENT.DATA_CLASSIFICATION) like upper (NVL(:dataClassification,'%'))
and upper (ENTITLEMENT.SERVICE_ACCOUNT_FLAG) like upper (NVL(:serviceAccountFlag,'%'))
and upper (ENTITLEMENT.PROVISIONING_FLAG) like upper (NVL(:provisioningFlag,'%'))
and upper (ENTITLEMENT.PERIMETER_ACCESS) like upper (NVL(:perimeterRole,'%'))Need to add two more columns to it and those columns values should be concatinate.
============================
Approver GID :
==================
This fileds we can get from "EC" datbase from the table " ENTITLEMENT_APPROVER"
Field Names : 1) APPROVER_LEVEL ------- Ex : 1,2,3
2) APRROVER_DETAIL ------- Ex : 6794 , 10027
we have to concate both the APRROVER_DETAIL 's ------- Ex : (6794 , 10027) in the report
Approver Name :
================
This one we can get the values from "OIM" Dtabase from the table " USR "
Field Names : 1) USR_LOGIN ------- Ex : we have to fetch the records from USR_LOGIN ID Based on the Ec database ENTITLEMENT_ID
2) USR_DISPLAY_NAME ------- Ex : Marcel O Lavallee , xxx
we have to concate both the USR_DISPLAY_NAME 's ------- Ex : (Marcel O Lavallee , xxx) in the report
Can any one help me in writing so..1)ENTITLEMENT:
==============
CREATE TABLE "EC_ADMIN"."ENTITLEMENT"
"ENTITLEMENT_ID" NUMBER NOT NULL ENABLE,
"APPLICATION_ID" NUMBER NOT NULL ENABLE,
"APPLICATION_NAME" VARCHAR2(200 BYTE),
"ERP_ENTITLEMENT_ID" VARCHAR2(200 BYTE),
"MODULE_ID" NUMBER NOT NULL ENABLE,
"MODULE_NAME" VARCHAR2(200 BYTE) NOT NULL ENABLE,
"SITE_ID" NUMBER NOT NULL ENABLE,
"SITE_NAME" VARCHAR2(200 BYTE) NOT NULL ENABLE,
"ENTITLEMENT_NAME" VARCHAR2(200 BYTE) NOT NULL ENABLE,
"IS_ENTITLEMENT_REQUESTABLE" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"SERVICE_ACCOUNT_FLAG" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"DESCRIPTION" VARCHAR2(200 BYTE),
"TECHNICAL_DESCRIPTION" VARCHAR2(200 BYTE),
"COMPLIANCE_SENSITIVITY" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"DATA_CLASSIFICATION" VARCHAR2(200 BYTE) DEFAULT 'Non-Confidential',
"INISIDER_TRADING_LIST" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"IT_PROCESSOR_GROUP" VARCHAR2(200 BYTE),
"IT_USE_ONLY" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"PROVISIONING_FLAG" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"IT_SUPPORT_PERSON_GID" VARCHAR2(200 BYTE),
"REVIEW_CYCLE" NUMBER,
"LAST_REVIEWED_ON" DATE DEFAULT SYSDATE NOT NULL ENABLE,
"LAST_REVIEWED_BY" VARCHAR2(200 BYTE),
"ENTITLEMENT_OWNER_GID" VARCHAR2(200 BYTE),
"LIST_OF_APPROVERS" VARCHAR2(200 BYTE),
"PERIMETER_ACCESS" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"ROLE_ASSOCIATION" VARCHAR2(4000 BYTE),
"AUTOMATIC_PROVISIONING" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"ON_DEMAND_ENTITLEMENT" VARCHAR2(200 BYTE),
"ON_DEMAND_ENTITLEMENT_PERIOD" NUMBER DEFAULT '24',
"COMMENTS" VARCHAR2(4000 BYTE),
"LAST_UPDATED_BY" VARCHAR2(200 BYTE),
"LAST_UPDATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
"CREATED" DATE DEFAULT SYSDATE NOT NULL ENABLE,
"RATIONALE_FOR_ACCESS" VARCHAR2(20 BYTE) DEFAULT 'FALSE',
"EXTRA_FIELD_1" VARCHAR2(200 BYTE),
"EXTRA_FIELD_2" VARCHAR2(200 BYTE),
"LAST_REVIEWED_NAME" VARCHAR2(200 BYTE),
PRIMARY KEY ("APPLICATION_ID", "SITE_ID", "MODULE_ID", "ENTITLEMENT_NAME") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "ECDATA" ENABLE,
UNIQUE ("ENTITLEMENT_ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "ECDATA" ENABLE,
FOREIGN KEY ("APPLICATION_ID") REFERENCES "EC_ADMIN"."APPLICATION" ("APPLICATION_ID") ENABLE,
FOREIGN KEY ("MODULE_ID") REFERENCES "EC_ADMIN"."MODULE" ("MODULE_ID") ENABLE,
FOREIGN KEY ("SITE_ID") REFERENCES "EC_ADMIN"."SITE" ("SITE_ID") ENABLE
2) ENTITLEMENT_APPROVER
CREATE TABLE "EC_ADMIN"."ENTITLEMENT_APPROVER"
"ENTITLEMENT_ID" NUMBER,
"APPROVER_LEVEL" NUMBER,
"APROVER_TYPE" VARCHAR2(200 BYTE),
"APRROVER_DETAIL" VARCHAR2(200 BYTE),
"EXTRA_FIELD_1" VARCHAR2(200 BYTE),
"EXTRA_FIELD_2" VARCHAR2(200 BYTE)
3) USR ---- OIM database
CREATE TABLE "DEVT_OIM"."USR"
"USR_KEY" NUMBER(19,0) NOT NULL ENABLE,
"ACT_KEY" NUMBER(19,0) NOT NULL ENABLE,
"USR_LAST_NAME" VARCHAR2(150 CHAR) NOT NULL ENABLE,
"USR_FIRST_NAME" VARCHAR2(150 CHAR),
"USR_MIDDLE_NAME" VARCHAR2(80 CHAR),
"USR_DISPLAY_NAME" VARCHAR2(382 CHAR),
"USR_MANAGER" VARCHAR2(12 CHAR),
"USR_TYPE" VARCHAR2(30 CHAR) NOT NULL ENABLE,
"USR_LOCATION" VARCHAR2(34 CHAR),
"USR_FSS" VARCHAR2(255 CHAR),
"USR_TODO" VARCHAR2(16 CHAR),
"USR_PASSWORD" VARCHAR2(200 CHAR) NOT NULL ENABLE,
"USR_DISABLED" VARCHAR2(1 CHAR),
"USR_PWD_CANT_CHANGE" VARCHAR2(1 CHAR),
"USR_PWD_MUST_CHANGE" VARCHAR2(1 CHAR),
"USR_PWD_NEVER_EXPIRES" VARCHAR2(1 CHAR),
"USR_UPDATE_AD" VARCHAR2(20 CHAR),
"USR_CREATED" DATE,
"USR_STATUS" VARCHAR2(25 CHAR),
"USR_EMP_TYPE" VARCHAR2(255 CHAR) NOT NULL ENABLE,
"USR_LOGIN" VARCHAR2(256 CHAR) NOT NULL ENABLE,
"USR_DISABLED_BY_PARENT" VARCHAR2(1 CHAR),
"USR_PWD_EXPIRE_DATE" DATE,
"USR_PWD_WARN_DATE" DATE,
"USR_MANAGER_KEY" NUMBER(19,0),
"USR_POLICY_UPDATE" VARCHAR2(1 CHAR),
"USR_PWD_WARNED" VARCHAR2(1 CHAR),
"USR_PWD_EXPIRED" VARCHAR2(1 CHAR),
"USR_START_DATE" DATE,
"USR_END_DATE" DATE,
"USR_PROVISIONING_DATE" DATE,
"USR_DEPROVISIONING_DATE" DATE,
"USR_PROVISIONED_DATE" DATE,
"USR_DEPROVISIONED_DATE" DATE,
"USR_EMAIL" VARCHAR2(256 CHAR),
"USR_LOCKED" VARCHAR2(1 CHAR),
"USR_LOGIN_ATTEMPTS_CTR" NUMBER(19,0),
"USR_PWD_RESET_ATTEMPTS_CTR" NUMBER(19,0),
"USR_CHANGE_PWD_AT_NEXT_LOGON" VARCHAR2(1 CHAR),
"USR_PWD_MIN_AGE_DATE" DATE,
"USR_DATA_LEVEL" NUMBER(1,0),
"USR_CREATE" DATE,
"USR_CREATEBY" NUMBER(19,0),
"USR_UPDATE" DATE,
"USR_UPDATEBY" NUMBER(19,0),
"USR_NOTE" CLOB,
"USR_TIMEZONE" VARCHAR2(100 CHAR),
"USR_LOCALE" VARCHAR2(100 CHAR),
"USR_LOCKED_ON" DATE,
"USR_MANUALLY_LOCKED" VARCHAR2(1 CHAR),
"USR_AUTOMATICALLY_DELETE_ON" DATE,
"USR_FULL_NAME" VARCHAR2(240 CHAR),
"USR_COUNTRY" VARCHAR2(100 CHAR),
"USR_DEPT_NO" VARCHAR2(80 CHAR),
"USR_DESCRIPTION" VARCHAR2(2000 CHAR),
"USR_COMMON_NAME" VARCHAR2(240 CHAR),
"USR_EMP_NO" VARCHAR2(80 CHAR),
"USR_FAX" VARCHAR2(4000 CHAR),
"USR_GEN_QUALIFIER" VARCHAR2(80 CHAR),
"USR_HIRE_DATE" DATE,
"USR_HOME_PHONE" VARCHAR2(20 CHAR),
"USR_LOCALITY_NAME" VARCHAR2(80 CHAR),
"USR_MOBILE" VARCHAR2(20 CHAR),
"USR_PAGER" VARCHAR2(20 CHAR),
"USR_HOME_POSTAL_ADDRESS" VARCHAR2(2800 CHAR),
"USR_POSTAL_ADDRESS" VARCHAR2(2800 CHAR),
"USR_POSTAL_CODE" VARCHAR2(30 CHAR),
"USR_PO_BOX" VARCHAR2(20 CHAR),
"USR_STATE" VARCHAR2(120 CHAR),
"USR_STREET" VARCHAR2(120 CHAR),
"USR_TELEPHONE_NUMBER" VARCHAR2(4000 CHAR),
"USR_TITLE" VARCHAR2(120 CHAR),
"USR_INITIALS" VARCHAR2(10 CHAR),
"USR_PWD_GENERATED" VARCHAR2(1 CHAR),
"USR_LDAP_ORGANIZATION" VARCHAR2(240 CHAR),
"USR_LDAP_ORGANIZATION_UNIT" VARCHAR2(240 CHAR),
"USR_LDAP_GUID" VARCHAR2(256 CHAR),
"USR_LDAP_DN" VARCHAR2(2048 CHAR),
"USR_ROWVER" RAW(8),
"USR_ACCESSIBILITY_MODE" VARCHAR2(20 CHAR),
"USR_COLOR_CONTRAST" VARCHAR2(10 CHAR),
"USR_FONT_SIZE" VARCHAR2(10 CHAR),
"USR_NUMBER_FORMAT" VARCHAR2(30 CHAR),
"USR_CURRENCY" VARCHAR2(20 CHAR),
"USR_DATE_FORMAT" VARCHAR2(20 CHAR),
"USR_TIME_FORMAT" VARCHAR2(20 CHAR),
"USR_EMBEDDED_HELP" VARCHAR2(10 CHAR),
"USR_LANGUAGE" VARCHAR2(100 CHAR),
"USR_TERRITORY" VARCHAR2(100 CHAR),
"USR_UDF_LOCATION_ID" VARCHAR2(20 CHAR),
"USR_UDF_MANAGER_LOGIN" VARCHAR2(150 CHAR),
"USR_UDF_PERSONID" VARCHAR2(10 CHAR),
"USR_UDF_ASSISTANT_GLOBAL_ID" VARCHAR2(30 CHAR),
"USR_UDF_STATUS_OLD" VARCHAR2(5 CHAR),
"USR_UDF_DIVISION" VARCHAR2(150 CHAR),
"USR_UDF_ORG_NAME" VARCHAR2(240 CHAR),
"USR_UDF_CREATION_DATE" DATE,
"USR_UDF_COST_CENTER" VARCHAR2(150 CHAR),
"USR_UDF_KNOWNAS" VARCHAR2(80 CHAR),
"USR_UDF_ORGID" VARCHAR2(20 CHAR),
"USR_UDF_OFFICE_PHONE" VARCHAR2(60 CHAR),
"USR_UDF_JOB_CHANGE" VARCHAR2(20 CHAR),
"USR_UDF_FULL_LEGAL_NAME" VARCHAR2(200 CHAR),
"USR_UDF_LAST_UPDATE" DATE,
"USR_UDF_BLDG_ROOM_NUMBER" VARCHAR2(45 CHAR),
"USR_UDF_NO_OF_DIRECT_REPORTS" VARCHAR2(10 CHAR),
"USR_UDF_LEGACY_MGMT_LEVEL" VARCHAR2(150 CHAR),
"USR_UDF_LOCATION_DESCRIPTION" VARCHAR2(240 CHAR),
"USR_UDF_WORKER_HIRE_DATE" DATE,
"USR_UDF_MAIL_STOP" VARCHAR2(45 CHAR),
"USR_UDF_SHIFT_CODE" VARCHAR2(150 CHAR),
"USR_UDF_SVP_ID_GLOBAL" VARCHAR2(30 CHAR),
"USR_UDF_VP_ID_GLOBAL" VARCHAR2(30 CHAR),
"USR_UDF_JOB_FAMILY" VARCHAR2(240 CHAR),
"USR_UDF_HR_PORTAL_LOCATIONS" VARCHAR2(150 CHAR),
"USR_UDF_JOB_FAMILY_TITLE" VARCHAR2(240 CHAR),
"USR_UDF_FLSA_FLAG1" VARCHAR2(150 CHAR),
"USR_UDF_ORGANIZATION_ROLLUP" VARCHAR2(240 CHAR),
"USR_UDF_JOB_APPR_LEVEL_DESC" VARCHAR2(240 CHAR),
"USR_UDF_JOB_FUNCTION" VARCHAR2(150 CHAR),
"USR_UDF_JOB_LEVEL_GUIDE" VARCHAR2(150 CHAR),
"USR_UDF_JOB_APPROVAL_LEVEL" VARCHAR2(150 CHAR),
"USR_UDF_PERSON_TYPE" VARCHAR2(240 CHAR),
"USR_UDF_EVP_ID_GLOBAL" VARCHAR2(30 CHAR),
"USR_UDF_GEOGRAPHIC_REGION" VARCHAR2(240 CHAR),
"USR_UDF_JOB_TITLE" VARCHAR2(240 CHAR),
"USR_UDF_WORKER_STATUS" VARCHAR2(1 CHAR),
"USR_UDF_WORKERTYPE" VARCHAR2(1 CHAR),
"USR_UDF_EMERGENCY_DE_PROVISION" VARCHAR2(8 CHAR),
"USR_UDF_NSUNIQUEID" VARCHAR2(100 CHAR),
"USR_UDF_OBGUID" VARCHAR2(300 CHAR),
CONSTRAINT "PK_USR" PRIMARY KEY ("USR_KEY") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "DEVT_OIM" ENABLE,
CONSTRAINT "FK_USR_ACT" FOREIGN KEY ("ACT_KEY") REFERENCES "DEVT_OIM"."ACT" ("ACT_KEY") ENABLE
) -
Concatinating the values of two columns ???
Hi,
Can anyone help me out in concatenating the values of two columns ??
Please ASAP...
Thanks>
What's wrong with
select (col X || '-'|| Col y ) as Z from xyz_table;
test@ora>
test@ora>
test@ora> --
test@ora> with xyz_table as (
2 select 1 as col from dual)
3 --
4 select (col X || '-'|| Col y ) as Z from xyz_table;
select (col X || '-'|| Col y ) as Z from xyz_table
ERROR at line 4:
ORA-00907: missing right parenthesis
test@ora>
test@ora>
test@ora> --
test@ora> with xyz_table as (
2 select 1 as x, 2 as y from dual)
3 --
4 select (col X || '-'|| Col y ) as Z from xyz_table;
select (col X || '-'|| Col y ) as Z from xyz_table
ERROR at line 4:
ORA-00907: missing right parenthesis
test@ora>
test@ora>
test@ora> -- ==================================================
test@ora> --
test@ora> with xyz_table as (
2 select 1 as col from dual)
3 --
4 select (col || '-'|| Col) as Z from xyz_table;
Z
1-1
1 row selected.
test@ora>
test@ora>
test@ora> --
test@ora> with xyz_table as (
2 select 1 as x, 2 as y from dual)
3 --
4 select (X || '-'|| y ) as Z from xyz_table;
Z
1-2
1 row selected.
test@ora>
test@ora>isotope -
Assign a value from dropdownlist to input field value on BSP page
Hi,
I'm new to SAP and ABAP. We have a CRM project in which I have to maintain BSP pages.
Now, coming to my problem: I have a input field with
value = "//BTAdminH/HeaderInfo"
This field is normally maintainable. The required function is now to set this field as not maintainable/readonly. Then, the value should be set automatically to an value, which will be selected from a dropdownListBox. After saving, the value HeaderInfo should have the same value like the selected value from the dropdownListBox.
How can I now set the field as readonly (this should be the easier part) and
how can I set the value for the HeaderInfo to the value of the selected value from the dropdownListBox?
If I set it directly like this
value = "//BTActivity/Priority"
it is shown on the BSP page correclty, but it is not saved as HeaderInfo.
Please help me.
EnjaHello Gokul,
test was only for test purposes! I am using as a separator the plus sign!
But this is not the problem!
In debugging, the local variable has the concatenated value! So, this is working!
oncatenate ls_ddlb1-value ls_ddlb2-value ls_ddlb3-value into lv_headerinfo SEPARATED BY ' + '.
But when I assign the value of my set_headerinfo to the local variable, then it is returning only the separator sign!!!
if BTAdminH->GET_HEADERINFO( 'HEADERINFO' ) is initial.
BTAdminH->SET_HEADERINFO( attribute_path = 'HEADERINFO' value = lv_headerinfo ).
endif.
If I declare the local variable as one of the dropdown values, then it is getting populated also for set_headerinfo
lv_headerinfo =ls_ddlb1-value.
So, the assigning is also working! But it is not working, when the local variable equals more than one value! I hope that I could explained it in the right way for you!!!!
So. why is the value for set_headerinfo not the same as the one for the local variable! The local variable has the correct value after the concatination.
Regards
Enja -
How can I display more than one value in Calendar ?
Hi,
the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
Do we have a more detailed docum. on the use of the calendar ?
pls kindly advise. TIA.
Bernhardmy solution:
Source fo the calendar starts:
snip>
declare
q varchar(32767) := null;
begin
q := 'select "ETA", <--- Date Field and concatination of fields as follows:
"SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
null,
null,
null,
null
from "#OWNER#"."SCHEDULE"'; . . . . . . .
snip>
comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
brgds
Bernhard -
Condition Concatination with the SQL String
Hi Friends,
I am facing problem in concatinating the below sring
[ ','||:id1||',' like '%,'''||hou.name||''',%' ] in the below query in the place of [ hou.name =:id1 ]
My Query :
Declare
TYPE cur_typ IS REF CURSOR;
c cur_typ;
query_str VARCHAR2(4000);
v_part_num varchar2(40);
v_inventory_item_id number;
v_customer_name varchar2(30);
v_op_name varchar2(240);
begin
query_str := 'SELECT partno part_num ,
item_id inventory_item_id ,
customer customer_name ,
hou.name op_name
FROM hr_organization_units hou,
oe_transaction_types_all sot ,
ra_customers rc ,
ra_addresses_all ra ,
ra_site_uses_all rsu ,
oe_order_headers_all h ,
oe_order_lines_all l ,
pwr_sod50 ps
WHERE hou.name =:id1 -- in this place the string need to be concatinated
and ps.group_id = 9999999
AND hou.organization_id=h.org_id
AND ps.line_id =l.line_id
AND l.header_id =h.header_id
AND h.invoice_to_org_id=rsu.site_use_id
AND rsu.address_id =ra.address_id
AND ra.customer_id =rc.customer_id
AND h.order_type_id =sot.transaction_type_id
and rownum<5';
OPEN c FOR query_str using v_op_name;
loop
FETCH c INTO v_part_num,v_inventory_item_id,v_customer_name;
EXIT WHEN c%NOTFOUND;
dbms_output.put_line(v_part_num||','||v_inventory_item_id||','||v_customer_name||','||v_op_name);
end loop;
CLOSE c;
end;
Thanks In Advance!
Thanks & Regards
Ramya NomulaHi,
Code seems Ok, What is the error u get when you execute it?
Check Execute the SQL Query individually and look into it.
Check it with sample value to the string which to be concatenated in your code.
SET SERVEROUTPUT ON;
DECLARE
TYPE cur_typ IS REF CURSOR;
c cur_typ;
query_str VARCHAR2(4000);
v_part_num varchar2(40);
v_inventory_item_id number;
v_customer_name varchar2(30);
v_op_name varchar2(240);
BEGIN
query_str := '
SELECT partno part_num ,
item_id inventory_item_id ,
customer customer_name ,
hou.name op_name
FROM hr_organization_units hou,
oe_transaction_types_all sot ,
ra_customers rc ,
ra_addresses_all ra ,
ra_site_uses_all rsu ,
oe_order_headers_all h ,
oe_order_lines_all l ,
pwr_sod50 ps
WHERE hou.name =:id1 -- in this place the string need to be concatinated
and ps.group_id = 9999999
AND hou.organization_id=h.org_id
AND ps.line_id =l.line_id
AND l.header_id =h.header_id
AND h.invoice_to_org_id=rsu.site_use_id
AND rsu.address_id =ra.address_id
AND ra.customer_id =rc.customer_id
AND h.order_type_id =sot.transaction_type_id
and rownum<5';
OPEN c FOR query_str USING v_op_name;
LOOP
FETCH c INTO v_part_num,v_inventory_item_id,v_customer_name;
EXIT WHEN c%NOTFOUND;
dbms_output.put_line(v_part_num||','||v_inventory_item_id||','||v_customer_name||','||v_op_name);
END LOOP;
CLOSE c;
END;Thanks,
Dharan V -
How can I display more than one value in Calendar ? (2)
Hi,
I came across the "Calendar - Activity Monitor by month" in the HTMLDB admin section. This is exactly the view I like to develop asked earlier (the proposal was to work with concatination of fields). Can you provide for the source code used for the a.m. calendar displaying four columns per day ? TIA - Bernhardif you're talking about the "Calendar of Views by Day" available in the administration section of any workspace (HTML DB Home >> Administration >> Monitor >> Calendar of Views by Day) or the "Calendar of Page Views" in the instance administration interface (HTML DB Administration >> Monitoring >> Calendar of Page Views), they're both implemented as htmldb calendar regions where the multiple values displayed per day are concatenated together with '
' strings between them.
hope this helps,
raj -
Output from Tlist concatinated???
Hi,
i have this data in a table
sample format is below
ID Name
1 A
2 B
3 C
4 D
5 E
.and so on
I am using the following code to populate the Name column in my non-db Tlist in a Form
DECLARE
RG_NAME_1 VARCHAR2(40) := 'my_data';
RG_ID_1 RecordGroup;
ERROR_1 NUMBER;
BEGIN
RG_ID_1 := FIND_GROUP(RG_NAME_1);
IF NOT ID_NULL(RG_ID_1)
THEN
DELETE_GROUP(RG_ID_1);
END IF;
IF ID_NULL(RG_ID_1)
THEN
RG_ID_1 := CREATE_GROUP_FROM_QUERY(RG_NAME_1, 'SELECT NAME,TO_CHAR(ID)
FROM T ORDER BY 1');
END IF;
ERROR_1 := POPULATE_GROUP(RG_ID_1);
IF ERROR_1 = 0
THEN
POPULATE_LIST('block.tlist, RG_ID_1);
END IF;
EXCEPTION
WHEN
NO_DATA_FOUND
THEN
NULL;
END;Well all this is working very fine
my Tlist is populated with 'names' at run time
the problem is that i want to achive 2 things
1. To show the respective clicked Name(s) in a non-database text item and the clicked name is deleted from the tlist. If the user clicks more than one name then the Names in the text item should be concatinated with a comma and a space
For example, if the user clicks 'A' then 'A' should be deleted from tlist and should come in the non-db text item. If the user clicks another element then that element should also be deleted from Tlist and come in the text item as
A, B
and so on..
in the second requirement I want only the ID behind the clicked name should come in another text item and the clicked Name is deleted from the tlist.
Incase of more than one selection the ID's should come concatinated with a comma and a space in the Text item just as explained above..
For exmaple: user clicks 'A', then 'A' should be deleted from the tlist and its ID should come in the text item. On further click the same procedure follow and the next ID comes after the first ID as 1,2
and so on
I would be extremly grateful if somone tells me with example code how to achieved this
regards,assuming that you have two items.
list item - blk_ctl.list
text_item - blk_ctl.text
add the below code in the WHEN-LIST-CHANGED trigger of the list item.
begin
--pad the values to a text item
if :blk_ctl.text is not null then
:blk_ctl.text := :blk_ctl.text||','||:blk_ctl.list;
else
:blk_ctl.text := :blk_ctl.list;
end if;
--loop through the list to find the selected element
--and delete it
for i in 1..get_list_element_count('blk_ctl.list')
loop
if get_list_element_value('blk_ctl.list', i) = :blk_ctl.list then
delete_list_element('blk_ctl.list', i);
end if;
end loop;
end; -
Concatenating context value and non-context value
Hi,
I have a context binding to one of the input field(lets say field-X) and also I have another dropdown list UI element(lets say field-Y) which is not bound to any context. When a user enters values in field-X and selects a item from field-Y hits the save button, I need to concat "Field-X - Field-Y" and assign this concatenated value to field-X context. So in a road-map (next screen) when I retrieve field-X context value it should have concatenated value of dropdown UI element as well.
Where do I do this concat (I mean which method e.g. WDModify) and how do I do it?
Thanks
Praveen.Hi Praveen,
What do you mean by field-Y is not bound to any context?? I am sure you would have atleast bound the selectedKey property of the dropdown list with some attribute of the context.
For concatinating the fileds you have to write the code on the onAction function of Save button which is taking you to the next screen of the road map. On the onActionSave() you have to get the values of the currently selected input field and the dropdown value. Then you have to concatenate the values and set it in some attribute from where you can pick it in the next screen.
Please use this code in onActionSave() method:
// Get the value of the currently entered value of the input field from the attribute which is bound to the input field. I am assuming the name of the attribute as InputFiledValue
String inpValue = wdContext.currentContextElement().getInputFiledValue();
// Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field. I am assuming the name of the attribute as DropDownValue
String dropDpwnValue = wdContext.currentContextElement().getDropDownValue();
// Concatenate with "-" in between
String concatenatedValue = inpValue+ " - " + dropDpwnValue;
// Set the concatenated value to a temporary attribute. This will be accessed in next view of road map.
wdContext.currentContextElement().setConcatenatedValue(concatenatedValue);
// OR if you want to save in same inputfield Attribute then also you can do that.
// use the similar code as above. see this:
// wdContext.currentContextElement().setInputFiledValue(concatenatedValue);
Here I am assuming that the attribute which have bound to the inputfield and dropdown field are directly under the context node. If not then you have to get the values from a specific node. Do it like this:
// Get the value of the currently entered value of the input field from the attribute which is bound to the input field.
String inpValue = wdContext.current<NODE_NAME>Element().getInputFiledValue();
// Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field.
String dropDpwnValue = wdContext.current<NODE_NAME>Element().getDropDownValue();
In the next view you can get this concatenated value and can use whereever you want. Use following code:
// To get the value of the concatenated string.
String value = wdContext.currentContextElement().getConcatenatedValue();
I hope this solves the issue. Please revert back in case you need any furtehr help on this.
Thanks and Regards,
Pravesh -
IDOC segment fields prefixing blank space with values
Hi Experts,
I am sending data through custom IDOC from SAP to XML which generates successfully but getting 2 problems in the data.
its having 3 level idoc segments:
SEGMENT1 with 1 field (field_name(20))
SEGMENT2 with 3 fields, (code_g(20), field_name(20), value(20))
SEGMENT3 with 4 fields, (code(20), field_name(20), Language(2) & text(20))
When i check the idoc in WE02,
1. i found that segment2-value field is prefixing some space along with the values.
Eg: if the output is "0111" whihc is plant, in the output (WE02) it is giving " 0111"
2. Segment3-language is no where in the output and text which should come as "011" is coming like " EN011" means it is concatinating language field value and displaying it with the text field value with prefixing space.
This is happening in PRD not in QA & DEV. I also checked the transport req and everything, Its same everywhere.
Can anyone please help me on this.
Regards,
NikHi,
This issue happnes when u are moving the data to iDOC segement with offset.
to aviod this improper move instead of using offset statement use below mentioned code.
decalare a structure as
Data SEG1 type SEGMENT1 ,
SEG2 type SEGMENT2,
SEG3 type SEGMENT3.
then while moving
SEG2-code_g = 'XXXX'
SEG2-field_name = 'YYYY'
SEG3-value = 'ZZZZ'
here u are moving the segment values to idoc data (SDATA) and then append it.
move seg3 to idoc-sdata.
then append it to idoc.
hope this helps -
Binding variables / concatination
can someone explain to me the how the binding variables work and what is the benefit of using binding variables over concatination in a simple term. thanks
Oracle has a caching system for SQL, so that if the same query is reissued much of the overhead of parsing and optimising it can be avoided. Generating thousands of new queries by dynamically concatenating literal values defeats that cache, giving you not only the overhead of parsing and optimising every single query, but also of maintaining and searching the cache for nothing, which can be significant.
-
Selecting multiple rows a table according to rows passed with a table valued parameter
Ive got a table, which looks like this:
CREATE TABLE MyTable (
MyChars CHAR(3) NOT NULL,
MyId INT NOT NULL,
CONSTRAINT PK__MyTable_MyChars_MyId PRIMARY KEY (MyChars, MyId),
CONSTRAINT FK__MyOtherTable_Id_MyTable_MyId FOREIGN KEY (MyId) REFERENCES MyOtherTable (Id)
Records look like i.e.:
Chars | Id
'AAA' | 1
'BBB' | 1
'CCC' | 1
'AAA' | 2
'BBB' | 2
'CCC' | 2
'DDD' | 2
'EEE' | 3
'FFF' | 3
'AAA' | 4
'DDD' | 4
'FFF' | 4
Now I have a SP, which takes a table valued parameter like:
CREATE TYPE dbo.MyTVP AS TABLE ( MyChars CHAR(3) )
This SP should return a set of Ids, which match all the rows of the parameter.
I.e.:
if the TVP contains 'AAA', 'BBB' & 'CCC', i get as result 1 & 2
if the TVP contains 'AAA' & 'FFF', i get as result 4
if the TVP contains 'BBB' & 'EEE', i get an empty result
What my SP is currently doing, is to build a query with string concatination, which is then executed with the EXEC statement. If we take my first example, the built query would look like this:
SELECT DISTINCT t0.MyId
FROM MyTable t0
INNER JOIN MyTable t1 ON t0.MyId = t1.MyId
INNER JOIN MyTable t2 ON t1.MyId = t2.MyId
WHERE t0.MyChars = 'AAA' AND t1.MyChars = 'BBB' AND t2.MyChars = 'CCC'
It works, but I'm not very fond of building the query. Maintaining such things is always a pain. And it also might not be the most efficient and elegant way to do this.
Since I can't think of any other way of doing this, I wanted to ask, if someone of you got an idea, if there is a better way to accomplish this.Let me give you a "cut and paste" I use in the SQL Server groups:
1) The dangerous, slow kludge is to use dynamic SQL and admit that any random future user is a better programmer than you are. It is used by Newbies who do not understand SQL or even what a compiled language is. A string is a string; it is a scalar value like
any other parameter; it is not code. Again, this is not just an SQL problem; this is a basic misunderstanding of programming principles.
2) Passing a list of parameters to a stored procedure can be done by putting them into a string with a separator. I like to use the traditional comma. Let's assume that you have a whole table full of such parameter lists:
CREATE TABLE InputStrings
(keycol CHAR(10) NOT NULL PRIMARY KEY,
input_string VARCHAR(255) NOT NULL);
INSERT INTO InputStrings
VALUES ('first', '12,34,567,896'),
('second', '312,534,997,896'),
etc.
This will be the table that gets the outputs, in the form of the original key column and one parameter per row.
It makes life easier if the lists in the input strings start and end with a comma. You will need a table of sequential numbers -- a standard SQL programming trick, Now, the query,
CREATE VIEW ParmList (keycol, place, parm)
AS
SELECT keycol,
COUNT(S2.seq), -- reverse order
CAST (SUBSTRING (I1.input_string
FROM S1.seq
FOR MIN(S2.seq) - S1.seq -1)
AS INTEGER)
FROM InputStrings AS I1, Series AS S1, Series AS S2
WHERE SUBSTRING (',' + I1.input_string + ',', S1.seq, 1) = ','
AND SUBSTRING (',' + I1.input_string + ',', S2.seq, 1) = ','
AND S1.seq < S2.seq
GROUP BY I1.keycol, I1.input_string, S1.seq;
The S1 and S2 copies of Series are used to locate bracketing pairs of commas, and the entire set of substrings located between them is extracted and cast as integers in one non-procedural step. The trick is to be sure that the right hand comma of the bracketing
pair is the closest one to the first comma. The relative position of each element in the list is given by the value of "place", but it does a count down so you can plan horizontal placement in columns.
This might be faster now:
WITH Commas(keycol, comma_seq, comma_place)
AS
(SELECT I1.keycol, S1.seq,
ROW_NUMBER() OVER (PARTITION BY I1.keycol ORDER BY S1.seq)
FROM InputStrings AS I1, Series AS S1
WHERE SUBSTRING (',' || I1.input_string || ','
FROM S1.seq
FOR 1) = ','
AND S1.seq <= CHARLENGTH (I1.input_string))
SELECT SUBSTRING(',' || I1.input_string || ','
FROM C1.comma_place +1
FOR C2.comma_place - C1.comma_place - 1)
FROM Commas AS C1, Commas AS C2
WHERE C2.comma_seq = C1.comma_seq + 1
AND C1.keycol = C2.keycol;
The idea is to get all the positions of the commas in the CTE and then use (n, n+1) pairs of positions to locate substrings. The hope is that the ROW_NUMBER() is faster than the GROUP BY in the first attempt. Since it is materialized before the body of
the query (in theory), there are opportunities for parallelism indexing and other things to speed up the works.
Hey, I can write kludges with the best of them, but I don't. You need to at the very least write a routine to clean out blanks, handle double commas and non-numerics in the strings, take care of floating point and decimal notation, etc. Basically, you must
write part of a compiler in SQL. Yeeeech! Or decide that you do not want to have data integrity, which is what most Newbies do in practice altho they do not know it.
A procedural loop is even worse. You have no error checking, no ability to pass local variables or expressions, etc.
CREATE PROCEDURE HomemadeParser(@input_string VARCHAR(8000))
AS
BEGIN
DECLARE @comma_position INTEGER;
CREATE TABLE #Slices
(slice_value INTEGER);
SET @input_string = @input_string + ','; --add sentinel comma
SET @comma_position = CHARINDEX(',', @input_string);
WHILE @comma_position > 1
BEGIN
INSERT INTO #Slices (slice_value)
VALUES(CAST(LEFT(@input_string, (@comma_position - 1)) AS INTEGER));
SET @input_string = RIGHT(@input_string, LEN(@input_string)-@comma_position)
SET @comma_position = CHARINDEX(',', @input_string)
END;
END;
Better answer:
http://www.simple-talk.com/sql/learn-sql-server/values()-and-long-parameter-lists/
http://www.simple-talk.com/sql/learn-sql-server/values()-and-long-parameter-lists---part-ii/
Do this with a long parameter list. You can pass up to 2000+ parameters in T-SQL, which is more than you probably will ever need. The compiler will do all that error checking that the query version and the procedural code simply do not have unless you write
a full parser with the standard error codes. You can now pass local variables to your procedure; you can pass other data types and get automatic conversions, etc. In short, this is just good software engineering.
CREATE PROCEDURE LongList
(@p1 INTEGER = NULL,
@p2 INTEGER = NULL,
@p3 INTEGER = NULL,
@p4 INTEGER = NULL,
@p5 INTEGER = NULL)
x IN (SELECT parm
FROM (VALUES (@p1), (@p2), (@p3), (@p4), (@p5)) AS X(parm)
WHERE parm IS NOT NULL;
You get all the advantages of the real compiler and can do all kinds of things with the values.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to pass values for the checkbox
Hi all,
We all have seen the functionality of selecting a check box and then click the button and it performs the task(i.e in the hotmail when you select a line/lines by selecting the checkbox for that line and click the delete button those all mails are deleted). we are trying to implement this functionality. I have written the following code for that, but i get the values for the selected box if the box is the first one but if I did not select the first line and select the second line, i get the values for first line as well as for the secondline separated by comma . In other word it concatinates all values. Can I have some pointers?
<INPUT TYPE="CHECKBOX" NAME="selectedBoxes" UNCHECKED value=<%out.println(" \"" + boxValues + "\" ");
And also I don't know how to use the oncheck event for the check box...
Thanks in advance...
AmeetaThanks Kan,
But I am littlebit confuse about how does multiple values have been passed. For Example, i have selected 3 check boxes to delete the record. The value for each check box I need is name, event and hours...Each of these record is separated by '*'. I have three sets of values...for three records..
1) Ameeta*overTime*5.00
2) Ameeta*holiday*6.00
3) Ameeta*weekends*8.00
I have total 5 or 6 records for this person(Ameeta) and I want to delete these listed three...some how if I use the following coding it gives me all records before the last checked box...
while(rs1.next())
isEmpty = false;
eventType = rs1.getString("EVENT_TYPE" ) ; ;
eventDate = rs1.getString("EVENT_DATE" ) ;
hours = rs1.getString("HOURS" ) ;
hash += Double.parseDouble(hours) ;
boxValues += eventDate + "*" + hours + "*" shortEvents "#";
userId = rs1.getString("USER_ID" ) ;
// employeeId = rs1.getString("EMP_ID" ) ;
confirmFlg = rs1.getString("CONFIRM_FLAG");
// out.println("\nrecordQuery:\n" + recordQuery ) ;
%>
<tr>
<td colspan=5 width=100>
<INPUT TYPE="CHECKBOX" NAME="selectedBoxes" value=<%out.println(" \"" + boxValues + "\" "); %>>
<td width="150"><%=eventDate%></td>
<td width="150"><%=eventType%></td>
<td width="150"><%=hours%></td>
<td width="150"><%=location%></td>
<td width="150"><%=confirmFlg%></td>
</tr>
**************************************In this code basically I am concatinating so it is obvious that I get every thing before the check box..so I did the following change by adding the line below in the code
while(rs1.next())
boxValues = "";
everything else is same....
but now I get only the last one that is true too because I am asigning it to the null but I don't know how to pass all checked one.........can anybody help me?
Thanks in advance...
Ameeta
Maybe you are looking for
-
Display BLOB objects (doc, pdf, jpg, etc) in Browser
Hello. I need help retrieving BLOBs from my DB and displaying them on a browser using Java (or JSP). The BLOB can contain any types of file form (such as pdf, doc, xls, jpeg,etc). null
-
Thank U for the .zip, I generated the barcode successfully. My code has 60 characters and the barcode reader doesn´t recognize it. I reduced the length of the it and the reader recognize it. I´m using BAR_CODE_128, I already tried with the rest of th
-
Deleted/or corroded I-movie project
While completing a project I did not save ( I though I was not saving just the last changes) all data disappeared. Then my computor froze forcing a shut down. Now these files cannot be found although the disk space is still being used. Any chance to
-
Hi All, Is it possible to use SAP B1 in the fast moving consumer good industry ? what is its limitation and what is its benefit ? I mean what modules are usually able to be applied in such industry ? Pls give advice. Thanks Rgd Rajh
-
Archive Link for Outgoing Documents (BUS2201)-- Customizing
Hi experts, I want to establish a link between SRM (7.0) and an external archiv via Archive Link. I want to store all outgoing Purchase order within TOA table TOA02 I have mantained Basic Customizing via transaction OAC0 so far(content repository) No