Extra row
hi,
good day,
appreciate if some one can advice me how to get rid of the extra row in the array table.
thanks in advance.
Attachments:
table to array.vi 13 KB
see attached and embedded comments
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs?
Attachments:
table to array2.vi 19 KB
Similar Messages
-
after I load a object into data grid created from a web
service it will always seem to create a new blank row. When I get a
error after clicking on it, it always says "-1" for the rows count.
when I shrink the size of the datagrid it elminates some of the
extra row, but still there is a bit of it showing. how do I resize
the datagrid so it doesn't spit out a extra row, or a part of one.
http://www.ctrlzsc.com/other/pic.png
this is a pic showing the extra row, just look where my badly drawn
arrow is pointing to.hi, xyco45
you can set the dataGrid's height and the rowHeight. In my
experience, for example, first, you set the headerHeight="25" and
rowHeight="22", the height will be setted
(headerHeight+rowHeight*(rowNumbers)+1) or
(headerHeight+rowHeight*(rowNumbers)+2), I thought this question
will be solved. -
How to manually insert an extra row of data in to a record set
hi there, i have a standard query which gets me some rows of
data
is there a way to manually add in an extra row of data (an
position that as row number 1 in the recordset)?
i've tried to find something on this in google / live docs -
but alas to no avail
if anyone could give me a pointer in the right direction
(just a tag would be a help) i'd be very grateful indeed.
thanks very muchthank you very much for your replies, this "union query"
sounds like the way forward for me - thank you very much i shall go
and investiage this now.
the reason i was a bit slow in replying was that in interim i
had coded around my problem
<cfif recordset.currentrow eq 1>
#output the extra row i wanted to add here#
</cfif>
which, whilst being a bit crude did do the job - however i
will check out this union query and if that does what it sounds
like it will - i'll document my final solution here in case this
helps anyone else
thanks again for your help guys -
PL/SQL-find out extra rows present in table by comparing 2 similar tables
Hi, can any one give me an idea to find out the extra rows present in table by comparing 2 similar tables using pl/sql.
REQUIREMENT::i am working on the upgrade environment.my previous database has some tables and having data.Now functional folks are adding some new data to the existing tables for the upgrade database.I need to identify that new rows which are added by them.
for this , i created name table with 2 columns n,n1 which contains the table names.
Table Name:Name
columns:n n1
a ax
b bx
c cx
a,b c........are the table names which are in the previous database environment.(approx >1500 tables)These tables having data.
ax,bx,cx..........table names which are in the upgrade environment contains the extra data which is added by the functional folks.
a&ax,b&bx.................(approx 1500 tables) are having same structure except some of them.
Now i want to write a pl/sql program that reads both table names a&ax from name table and then by comparing the rows of a&ax ,i need to find out the extra rows present in the ax table to store that in different place.
Example:
a table
id name
1 co
2 wi
3 il
ax table
id name
1 co
2 wi
3 il
4 va
5 ca
Here i need to find out the difference b/n the 2 tables ,the extra rows id 4,5 and place it some where.this is just for demo, is this you mean?
SQL> ed
Wrote file afiedt.buf
1 SELECT empno,ename,e.DEPTNO emp_deptno, d.deptno dept_deptno,d.DNAME
2 FROM EMP e full outer join DEPT d
3* on d.DEPTNO= e.DEPTNO
SQL> /
EMPNO ENAME EMP_DEPTNO DEPT_DEPTNO DNAME
7934 MILLER 10 10 ACCOUNTING
7839 KING 10 10 ACCOUNTING
7782 CLARK 10 10 ACCOUNTING
snipp........
7521 WARD 30 30 SALES
7499 ALLEN 30 30 SALES
156 1
12 1
40 OPERATIONS
90 LOGISTIC
18 rows selected.
SQL> ed
Wrote file afiedt.buf
1 SELECT empno,ename,e.DEPTNO emp_deptno, d.deptno dept_deptno,d.DNAME
2 FROM EMP e left outer join DEPT d
3* on d.DEPTNO= e.DEPTNO
SQL> /
EMPNO ENAME EMP_DEPTNO DEPT_DEPTNO DNAME
7934 MILLER 10 10 ACCOUNTING
7839 KING 10 10 ACCOUNTING
7782 CLARK 10 10 ACCOUNTING
7902 FORD 20 20 RESEARCH
snipp..................
7654 MARTIN 30 30 SALES
7521 WARD 30 30 SALES
7499 ALLEN 30 30 SALES
156 1
12 1
16 rows selected.
SQL> ed
Wrote file afiedt.buf
1 SELECT empno,ename,e.DEPTNO emp_deptno, d.deptno dept_deptno,d.DNAME
2 FROM EMP e[b] right outer join DEPT d
3* on d.DEPTNO= e.DEPTNO
SQL> /
EMPNO ENAME EMP_DEPTNO DEPT_DEPTNO DNAME
7369 SMITH 20 20 RESEARCH
7499 ALLEN 30 30 SALES
7521 WARD 30 30 SALES
7566 JONES 20 20 RESEARCH
snipp......................
7902 FORD 20 20 RESEARCH
7934 MILLER 10 10 ACCOUNTING
40 OPERATIONS
90 LOGISTIC
16 rows selected. -
Export to Excel - Problem with extra rows
Hi have a report that has 3 groups. I suppress the group headers and am using the group footers for totals.
When I export to excel, I get extra rows in the excel file for the suppressed sections. How can I get rid of these?
Thanks,
LindaI can use this to get out additional rows on my excel export. However, in the columns, I usually put some distance between each column so the columns won't run together. This is giving me extra columns. It would be much easier if I did not have to put that distance. Is there a way to format the field to have a leading or trailing space so all the fields don't run together on the report?
example:
field1
field2
field 3
if all these fields have data the output would look like:
field1datafield2datafield3data
how can I make it look like:
field1data field2data field3data -
I am working on a chart in pages with 7 columns.
Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks JaneTry posting in the Pages forum
https://discussions.apple.com/community/iwork/pages -
Select extra row without using UNION ALL in pl/sql
Hi,
Can anyone tell me how to select extra row without using UNION or UNION ALL in pl/sql. Actually I want to have my o/p of query as partitioned by designation and ordered by salary and than one extra row which will contain the highest salary in a particular salary. My table has first_name,emp_id,designation and salary column. And I wnt the o/p as.
Mohinish,12212,SI,46000
Ram,11212,SSI,47000
Shyam,12133,SI,48000
Rick,9898,SI,46000
Rocky,12312,SSI,56000
Sariq,23948,SI,43000
Suman,12789,HR,49000
Sampy,12780,SI,46000
Parna,11111,HR,50000
Now the o/p should be.
Mohinish,12212,SI,46000
Rick,9898,SI,46000
Sariq,23948,SI,43000
Shyam,12133,SI,48000
Shyam,12133,SI,48000
Ram,11212,SSI,47000
Rocky,12312,SSI,56000
Rocky,12312,SSI,56000
Suman,12789,HR,49000
Parna,11111,HR,50000
Parna,11111,HR,50000
Thanks in AdvanceYou don't have to do a UNION or UNION ALL in PL/SQL but you would need to in SQL to get the desired output:
with data_recs
as (select 'Mohinish' first_name,12212 emp_id,'SI' designation,46000 salary from dual union
select 'Ram',11212,'SSI',47000 from dual union
select 'Shyam',12133,'SI',48000 from dual union
select 'Rick',9898,'SI',46000 from dual union
select 'Rocky',12312,'SSI',56000 from dual union
select 'Sariq',23948,'SI',43000 from dual union
select 'Suman',12789,'HR',49000 from dual union
select 'Sampy',12780,'SI',46000 from dual union
select 'Parna',11111,'HR',50000 from dual)
select first_name, emp_id, designation, salary from data_recs union all
select s.first_name, s.emp_id, s.designation, s.salary
from (select first_name,
emp_id,
designation,
salary,
row_number() over (partition by designation order by salary desc) high_salary
from data_recs
order by designation, salary) s
where s.high_salary = 1
order by designation, salary;
FIRST_NAME EMP_ID DESIGNATION SALARY
Suman 12789 HR 49000
Parna 11111 HR 50000
Parna 11111 HR 50000
Sariq 23948 SI 43000
Rick 9898 SI 46000
Mohinish 12212 SI 46000
Sampy 12780 SI 46000
Shyam 12133 SI 48000
Shyam 12133 SI 48000
Ram 11212 SSI 47000
Rocky 12312 SSI 56000
Rocky 12312 SSI 56000 -
Extra row in Ready input query.
Hi gurus,
I have developed a Ready input query and its working fine but in the report i mean after the over all Result row at the end there should be extra row get added by default for entering the data iam not getting the extra row for entering the Data. How to bring that extra row please suggest accordingly
RegardsIn analyzer, check that Analysis Grid property 'Suppress New Lines' is unchecked.
Also, check this link http://help.sap.com/SAPHELP_NW70/helpdata/EN/43/f234619e3c4c5de10000000a155369/frameset.htm
It explains the prerequisites for new input-ready rows for BEx Analzer as well as WAD. -
Can we add extra row in colorpicker?
Hi all,
I want to add one extra row below all colors in color picker. If you have seen word color picker, it shows you recently used colors.
Is it possible to add extra row in color picker?
Thanks,
-ChanduHi,
SAP has given user defined fileds in CEKKO communication structure which you can use by using user exits to fill in CEKKO.
These fileds you can use as characteristics for release strategy.
Details of user exit:
M06E0004 Changes to communication structure for release purch. doc.
EXIT_SAPLEBND_002, Changes to Communication Structure for Release of Purchasing Documents
Description: User exit that control the values in CEKKO for the Release Strategy.
Regards,
Shailesh Mackwan -
ORA-01423: error encountered while checking for extra rows in exact fetch
ERROR at line 1:
ORA-01423: error encountered while checking for extra rows in exact fetch
ORA-01722: invalid number
ORA-06512: at "Department.get_emp_name", line 57
ORA-06512: at line 14
Hi
The above are the error messages I am running into and I am not sure what it means at all. I do have a query which select few rows into cursor
cursor c_requested is
select * from departments where emp_id in (1, 2, 3)
now from these rows I again creating a query dynamically
open c_requested;
loop
fetch c_requested into deptID, name, authorized; -- declared variables
exit when c_requested%NotFound;
sqlstring := 'Select name from employees where deptID = ' || deptID || ' and Authorized = ' || authorized;
begin
execute immediate sqlstring into description; -- declared variable
exit;
exception when no_data_found then
description := 'FILTER_OUT';
end;
end loop;
close c_requested;
This code is inside a function get_emp_name(). When I execute this function I am getting the above errors. I really appreciate all your help. Please let me know if you need more information.
Thank you very muchThank you very much damorgan,
I looked through my code and figured out what was wrong. I had a varchar2 column in the table where I was passing a value 999 instead of '999'. Thanks again.
I have one more question. I am using cursor to loop through.. here is my code
rowcount integer;
cursor c_emp is
select * from employees where empID in (....);
begin
open c_emp;
rowcount := c_emp%RowCount;
loop
end loop;
dbms_output.put_line(rowcount);
end;
I am getting rowcount = 0 even though there are many values in it. I am not sure if I am using the where clause properly. Any help would be appreciated.
thank you. -
How to make tooltip highlight extra row data on a table
I have a table in a declarative component.
It only has 4 columns but there is a lot of extra data I would like to display when the user hovers over a row. You can see in the 'shortDesc' property I've added this but it doesn't work. Any help would be greatly appreciated.
<af:table value="#{attrs.idmkr_table_model.collectionModel}"
var="row"
rows="#{attrs.idmkr_table_model.rangeSize}"
emptyText="#{attrs.idmkr_table_model.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{attrs.idmkr_table_model.rangeSize}"
rowBandingInterval="0"
filterModel="#{attrs.idmkr_query_model.queryDescriptor}"
queryListener="#{attrs.idmkr_query_model.processQuery}"
filterVisible="false" varStatus="vs"
binding="#{attrs.idmkr_table_binding.myTable}"
id="addr_addressees" rowSelection="multiple"
columnStretching="last"
width="100%"
shortDesc="#{row['Address1']}, #{row['Address2']}, #{row['City']}, #{row['State']}, #{row['Postalcode2']}, #{row['Email']}, #{row['Phone']}, #{row['Fax']}"
styleClass="AFStretchWidth">
<af:column headerText="Name" sortable="true" sortProperty="Lastname" filterable="true">
<af:outputText value="#{row['Lastname']}"/>
</af:column>
<af:column headerText="Type" sortable="true" sortProperty="Type" filterable="true">
<af:outputText value="#{row['Type']}"/>
</af:column>
<af:column headerText="Role" sortable="true" sortProperty="Role" filterable="true">
<af:outputText value="#{row['Role']}"/>
</af:column>
<af:column headerText="Distribution" sortable="true" sortProperty="Preferreddist" filterable="true">
<af:outputText value="#{row['Preferreddist']}"/>
</af:column>
</af:table>Hey Frank, thank you very much, but that leads to a problem. Our team had Duncan Mills come to our location who said not to use javascript. Doesn't clientlistener call a javascript method? If there is a way to implement this without javascript I would prefer to do that. If javascript is our only option then I will do that.
Thx. -
hi:
When I make a list item a Poplist style it adds another null row to the list. When I change the from poplist to a combo list I get the correct number of items.
For some reason an extra 'null' entry is added when the list is a Poplist ?
Does anyone know what is causing this ?
Thanks,
Deepak/yes, I have been thinking it's Oracle's masterpiece jewry of the crown feature, if you complain it, that means you don't know how to appreciate it; if Oracle does not appreciate it as you, then it may have been fixed it in forms6.0/6i or even 5.0.
-
Numbers adding extra rows to CSV files
When I open a CSV file Numbers just adds in a blank row between each row.
What is happening?There is an extra line ending character in the file. If you use dropbox share the file so we can look at it.
-
SSRS report with cube – MDX query how to get an extra row with value '0'.
Hello everyone,
I'm unable to write the MDX query to get '0' value as first row in output. Following is my MDX query:
WITH MEMBER [Measures].[Dummy] AS '0'
SELECT NON EMPTY Union( {[Measures].[Amount] },{[Measures].[Dummy]}) ON COLUMNS,
NON EMPTY { ([Customer].[Customer Nbr].[Customer Nbr].ALLMEMBERS * [Fiscal].[Year].[Year].ALLMEMBERS ) }
having [Measures].[Amount] > 5000
ON ROWS FROM [cube]
With above query, the output returns the value '0' as a separate column.
I would like to get it in form of first row for [Measures].[Amount]. Like,
Amount
0
500
200
100
What needs to be changed to achieve the above result? I'm planning to use the above value in line chart to start the line from 0th value as described in following URL. (Note: The below URL is using SQL query and not MDX expressions.)
http://spinerain.blogspot.in/2013/09/ssrs-line-chart-create-stacked-line-and.html
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.htmlThe round brackets in your expression are forcing an implicit crossjoin between the 3 lines. I would do the following which creates a set of the DummyYear plus the real year members and then crossjoin that with the customer set.
WITH MEMBER [Fiscal].[Year].DummyYear AS '0'
SELECT NON EMPTY {[Measures].[Amount]} ON COLUMNS,
NON EMPTY {[Fiscal].[Year].DummyYear,
[Fiscal].[Year].[Year].MEMBERS} *
[Customer].[Customer Nbr].[Customer Nbr].MEMBERS
having [Measures].[Amount] > 5000
ON ROWS FROM [cube]
http://darren.gosbell.com - please mark correct answers -
I am having trouble making an easy edit. I need to insert an a 'CELL', but I am only being given the option to insert an entire 'ROW' or 'COLUMN'. I would like to just insert a cell and have the rest of the content below it move accordingly. Please help!
There's no way to set it so that you're just inserting a cell and everything moves along after that cell?
Simple answer is "No." Sorry.
InDesign tables are not good for juggling data. If you have a project that requires single-cell-insertion on a regular basis, I suggest doing your table outside of InDesign in an app with easier table-cell-juggling tools (Excel comes to mind here) and then perfecting you use of table and cell styles so that it's easy to update. It'll always be a hassle of some kind, of course, but the hassle can be minimized.
Maybe you are looking for
-
Keep getting app updates with same version number
I noticed that I keep getting update notifications in the app section in iTunes from the apps I bought and downloaded for free but they have the same version number. Like just now, I checked for updates and there where about 42! I believe it's for ev
-
Hide Region When Click On Region Name Then Region is Display
Hi , I want to hide region click on REGION NAME like This Report [http://apex.oracle.com/pls/apex/f?p=267:4:1532929568077413|http://apex.oracle.com/pls/apex/f?p=267:4:1532929568077413] thanks
-
Configuring user specified alerts using solution manager
We are having SolutionManager 4.0 with sp 12. We configurred alerts for different production systems which are in the landscape.Right Now We have special requirent for our R/3 Producton system. We need to setup alert for monitoring of avg response ti
-
Is it possible to use CD sharing to access Software and music CDs on a macbook air ? If so can the
-
Auto query LOV when window pop's up
Hi, I have external LOV and I'm trying to auto query all raws when user opens LOV window. The thing is that user is too lazy to put % in criteria item and since its in Advanced table I can't initialize value there. Any idea? I putted this in my lov C