Importing an undefined number of columns/rows
hi,
i am facing one problem, i am selecting small data range, and at the time of any updation (xml to swf autoupdate) it is not showing new data,i have to expand the data selection range mannualy. so i can get that new data on my live screen.
so, anyone can hepl me regarding this problem of expand the data selection automatically
thank you,
Jindal
I'm having this same issue. This application is running against a data warehouse with an unknown return set of data (the rows are certainly unknown, columns are more often "known").
Does this mean that we need to create a dummy set of data that can reach the "limits" of our expected bind range?
Is there an easy way to simply update the range in the xml url ? Or does the full dataset need to be there when i import an xml url?
What is the application (xls or Xcelsius) limit on the number of rows that CAN be returned via XML maps?
What is the limit to the number of rows that can be bound to an Xcelsius object?
Since Excel expands the rows in the range on refresh, I dont see why BO cannot enhance the product to do the same (at least on the row level). I am very concerned that reporting will be inaccurate because data is simply dropped due to this limitation.
Similar Messages
-
Report with undefined number of columns
Hello,
I'm using VB.NET and Crystal Reports 2008 for my Windows application.
I've a new report to implement. It's a budgetting report in a table form, which shows the amount of money allocated to a certain projects over a range of years. In each row I show the different projects, in each column I show the budget of each project per year. Users can select the number of years to print (as a parameter), that means, the number of columns is dynamic.
My question is, how am I going to design this report? Will cross-tab help? My report will be in landscape format. The page width is enough for 8 columns, i.e. 8 years can be printed per table. If users choose to print more than 8 years, the "extra" columns should be printed on a new table underneath the one with the first 8 years, or on a new page if there's not enough space underneath.
Your help and suggestions would be much appreciated. Thank you very much.
AgnesPlease note, this forum is dedicated to topics related to custom application development or deployment with Crystal Reports in .Net. This includes full versions of Crystal Reports as well as those versions of Crystal Reports bundled with Microsoft Visual Studio .Net.
As your query concerns design of an actual report, you should be posting your query to the Crystal Reports Design forum:
SAP Crystal Reports
Ludek
Moved to Report Design Forum
Edited by: Don Williams on Nov 24, 2008 7:23 AM -
Hi All,
I am wondering how can I add the numbers of row and column from the existing build-in "text report"
VI ? If possible, would you mind showing me step-by-step because I am a new user and I am not familiar with the labview software.
ThanksHi,
Easy text Report is for saving to a file. Do you mean you just want to add the totals of two arrays and write that? In that case I would just append the totals before writing to file.
Jeff | LabVIEW Software Engineer -
I am getting followong error
XML Parsing Error: undefined entity
Location: chrome://weave/content/options.xul
Line Number 6, Column 3: <setting id="weave-account" type="string" title="&account.label;" />
--^I had this problem - it appeared to be due to having Firefox 4 with the Firefox Sync installed as an add-on. Firefox 4 has sync included so there is no need to have it as an add-on. I went to the add-on manager and removed Firefox Sync and now appears to be working correctly.
-
I'm having trouble adding an additional account to FireFTP. I keep getting a yellow box with this title:
XML Parsing Error: undefined entity
Location: chrome://fireftp/content/accountManager.xul
Line Number 216, Column 17:
<menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
----------------^
Don't understand the problem, can anyone help please?Try updating FireFTP to the latest 2.0.20 version.
''An update for Firefox 32 compatibility.''
https://addons.mozilla.org/en-US/firefox/addon/fireftp/ -
How to load data from file contains rows with different number of columns
hi all,
a data file contains assets data ordered like this(location_id
serial_number , quantity
serial_number , quantity
single column rows represents location, and two columns rows represents asset details for that location
123
12345 ,1
32145 ,1
124
12348 ,12
41239 ,22
54189 ,2
254
22419 ,1
I want to use sql loader to load these data after merging locations with thieir assets,like this order(location_id,serial number,quantity)
123 ,12345 ,1
123 ,25413 ,1
123 ,32145 ,1
124 ,12348 ,12
124 ,41239 ,22
124 ,54189 ,2
254 ,22419 ,1
Can one help me in that?
thank you,Create external table and code sql query to do it.
:p -
Number of columns of the rows in a ResultSet?
Hello
Is there any way to get the amount of columns of the rows in a ResultSet? The values of the columns might be empty, so wasNull() wont work?
ThanksYes, you can see the number of columns and lots of other info, see ResultSetMetaData. Example:
ResultSet rs = statement.executeQuery("...");
ResultSetMetaData rsmd = rs.getMetaData();
System.out.println("Number of columns: " + rsmd.getColumnCount());Look it up in the API documentation. -
Can we create JTable with multiple rows with varying number of columns ?
Hi All,
I came across a very typical problem related to JTable. My requirement is that cells should be added dynamically to the JTable. I create a JTable with initial size of 1,7 (row, columns) size. Once the 7 columns are filled with data, a new row should be created. But the requirement is, the new row i.e. second row should have only one cell in it initially. The number of cells should increase dynamically as the data is entered. The table is automatically taking the size of its previous row when new row is added. I tried by using setColumnCount() to change the number of columns to '1' for the second row but the same is getting applied to the first row also.
So can you please help me out in this regard ? Is it possible to create a JTable of uneven size i.e. multiple rows with varying number of columns in each row ?
Thanks in Advance.Well a JTable is always going to paint the same number of columns for each row. Anything is possible if you want to rewrite the JTable UI to do this, but I wouldn't recommend it. (I certainly don't know how to do it).
A simpler solution might be to override the isCellEditable(...) method of JTable and prevent editing of column 2 until data in column 1 has been entered etc., etc. You may also want to provide a custom renderer that renderers the empty column differently, maybe with a grey color instead of a white color. -
How to transpose rows to multiple dynamic number of columns
Hi All,
I have a requirement to transpose the rows in single column to multiple columns. The columns are not fixed.
A table called XX_PRODUCT_SIZE.
The data in the table are,
PRODUCT_NO SIZE PRESSURE
P1 1 100
P1 1 200
P1 2 100
P1 2 300
P1 3 300
The data in the table are not fixed with respect to size and pressure. In future the product P1 may have size 4 with new pressure 900.
Now I want to convert these rows into multiple columns.
So it should be,
PRODUCT_NO SIZE_1 SIZE_2 SIZE_3 PRESSURE_100 PRESSURE_200 PRESSURE_300
P1 TRUE TRUE TRUE
P1 TRUE TRUE TRUE
P1 TRUE TRUE
I tried many ways of writing using CASE, MAX with rownumber over partition by etc. but which will not work for me as the rows are not fixed to compare.
Can you please help me writing a query which transpose rows to columns dynamically. My intention is to create a materialized view for this XX_PRODUCT_SIZE table with transposing columns.
I am using 10g DB
Thank You
Manju
Edited by: ManjuNaik88 on May 28, 2013 2:29 AMHi,
If the number of columns in a query has to be figured out at run-time, then you need dynamic SQL. See the froum FAQ {message:id=9360005} for links to examples.
You might find it easier to create one big column that looks like a variable number of columns. SELECT ... PIVOT can do this with XML output. String aggregation is another way; see {message:id=3527823} .
ManjuNaik88 wrote:
... I saw Oracle 11g Pivot can be used. "PIVOT" is still not working
SELECT ... PIVOT works. If it's not doing what you the way you're uisng it, then just change how you're using it.
(You don't expect a mor precise answer with just that information, do you?) -
Since an automatic update ran I get the message <br />
"XML Parsing Error: undefined entity <br />
Location:chrome://browser/content/browser.xul <br />
Line Number 238, Column 5: <br />
<broadcaster id="devtoolsMenuBroadcaster_ChromeDebugger"----^"<br />
when I try to open Firefox. I have had to go back to using Internet Explorer - Tried everything suggested including deleting then reinstalling Firefox, but still cannot get Firefox to open - help!Hello,
Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
'''Note:''' You might want to print these steps or view them in another browser.
#Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
#After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
#Delete the Firefox installation folder, which is located in one of these locations, by default (your profile folder with bookmarks etc. WILL NOT BE DELETED):
#*'''Windows:'''
#**C:\Program Files\Mozilla Firefox
#**C:\Program Files (x86)\Mozilla Firefox
#*'''Mac:''' Delete Firefox from the Applications folder.
#*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
#Now, go ahead and reinstall Firefox:
##Double-click the downloaded installation file and go through the steps of the installation wizard.
##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
Please report back to see if this helped you!
Thank you. -
Firefox version 4.0.1
Firefox Sync Version 1.7
I have this combination installed on two different machines (one is WinXP, the other Win7).
When I goto the Addons screen to see which addons are installed and I click the "option" button for the Firefox Sync addon I get a popup window that gives me this error message.
The full details are as follows:
XML Parsing Error: undefined entity
Location: chrome://weave/content/options.xul
Line Number 6, Column 3:
<setting id="weave-account" type="string" title="&account.label;" />
--^You don't need the Firefox Sync 1.7 extension with Firefox 4, Sync is a built in feature. Uninstall that extension and that error message shouldn't appear.
-
How do I locate column/row (number) selected in applescript
I require a simple script to adjust the column widths of the current selected column only. I want to base it on a script below which I found on the internet. This script adjusts multiple column widths to the value input and adjusts the stub column to the remaining space. I would like to know how easy it is to create a script with a similar input window that adjusts the column/row selected leaving the others in tact.
tell application "Adobe InDesign CS4"
activate
if class of parent of selection is not cell then
display dialog " Do not highlight any cells " buttons " OK " default button 1 with icon caution
else
set monTableau to parent of parent of selection
set NbColonnes to count columns of monTableau
set monBlocTexte to parent text frames of selection
set maBoiteTexte to item 1 of monBlocTexte
set {y, x, h, l} to geometric bounds of maBoiteTexte
set largeurBloc to (l - x)
tell text frame preferences of maBoiteTexte
set NumColTexte to text column count
set largGout to text column gutter
end tell
display dialog "Width of columns (mm) " default answer 20
set largeurTexte to text returned of the result
set largcol2 to (largeurTexte as integer)
set largcol1 to ((largeurBloc - (NumColTexte - 1) * largGout) / NumColTexte - (NbColonnes - 1) * largcol2)
if largcol1 < 2 then
set largcol1 to ((largeurBloc - (NumColTexte - 1) * largGout) / NumColTexte) / NbColonnes
set largcol2 to ((largeurBloc - (NumColTexte - 1) * largGout) / NumColTexte) / NbColonnes
end if
set width of column (1) of monTableau to largcol1
repeat with counter from 2 to NbColonnes
set width of column (counter) of monTableau to largcol2
end repeat
end if
end tell
Your help will be greatly appreciated
Thanks
Dave WilliamsPerhaps like this:
tell application "Microsoft Excel"
set i to first row index of active cell
end
log i
Regards,
H -
How to know Number of the Row which is selected in Advanced table
Hi All
I have a requirement where in an advanced table, when user clicks on copy icon against a row..a new row is created with copied values of the row against which copy action is performed.My issue is: assume in table i have got 5 rows..when user clicks on copy..my copied row gets created in the end..but i want tht row to be created directly under the row against which copy action is performed.I think somehow if i am able to know the position number of the row against which copy action is performed..i should be able to achieve it...can you please help me on this.
Thanks
Rajhi raj,
create a fire action to the copy image.
and then copy this method in to u r AM,
public void copy action(String s)
PwrPosViewShipmentsVOImpl sVO = getPwrPosViewShipmentsVO();
RowSetIterator rowsetiterator;
OADBTransaction oadbtransaction;
rowsetiterator = sVO.findRowSetIterator("ships");
int i;
int j;
if(rowsetiterator == null)
rowsetiterator = sVO.createRowSetIterator("ships");
oadbtransaction = getOADBTransaction();
rowsetiterator.reset();
i = 0;
if(!sVO.isPreparedForExecution())
rowsetiterator.setRowValidation(false);
String s1;
PwrPosViewShipmentsVORowImpl sVORowImpl1;
PwrPosViewShipmentsVORowImpl sVORowImpl=null;
do
if(!rowsetiterator.hasNext() || i >= sVO.getFetchedRowCount())
break;
i++;
sVORowImpl = (PwrPosViewShipmentsVORowImpl)rowsetiterator.next();
s1 = copyServerUtil.replaceNull(sVORowImpl.getAttribute("view attribute of the referenced column"));
} while(!s.equals(s1));
j = sVO.getRangeIndexOf(sVORowImpl);
sVORowImpl1 = (PwrPosViewShipmentsVORowImpl)rowsetiterator.createRow();
sVO.insertRowAtRangeIndex(j + 1, sVORowImpl1);
rowsetiterator.closeRowSetIterator();
* create a new class file under the server folder and paste the below into that. and then import that class file into u r AM. and then try to run as a whole. u will get ur required work.
public static final String replaceNull(Object obj)
if(obj == null || obj.equals("null"))
return "";
} else
return obj.toString();
} -
SSIS: Count number of columns
Hi,
I am processing flat files and I want to make sure that my files will contain the number of columns I expect, because a user might some day input a file with a new column format. If the file does not contain the correct number of columns, process must stop.
I am planning to input the expected of columns in a User Variable.
But how do I test for the number of columns in the file, and do I stop the execution?
Be precise please (do I work in the control flow? in the Data flow?).
Thanks in advance.
PaulDear Pauldube
I think Arthurz is right
(1) First
take one package level variable for storing length of Header row of each and every file
Eg.
Variable Name = FileRowLen
Variable Type = Integer
(2) Take one script task and Add FileRowLen
variable to readwritevariables then edit script
Add below code :
Dim FileRowStack as string()
FileRowStack = System.IO.File.ReadAllLines(FileSource)
‘–File source is string variable contain filepath that you want to import
Dts.variables(“FileRowLen”).value = FileRowStack(0).length
(3) Now open precedence constraint editor then
Eveluation operation : Expression
Expression : @FileRowLen =
-- Header length of file which would you like to process
Multiple constraints : Logical or….
Press OK
Connector will looks
like ----------------
Ramesh Rathod -
Generate itab with dynamic number of columns
I have a method that exports a internal table to excel, XML or HTML, which works fine in many cases.
Now I want to export some special data that I want to put into an itab first.
The problem is that both the number of columns and the number of rows are dynamic.
LOOP AT (header_table)
(for each entry, I need one column)
ENDLOOP.
LOOP AT (row_table).
(do some calculations and add a row to the itab)
ENDLOOP.
Is there a way to generate an internal table like this?Hi daniel,
1. There is an INDEPENDENT FORM
whose inputs are FIELD LIST
and from those, it consructs dynamic table.
2. Here is the program.
the dynamic table name will be
<DYNTABLE>.
3. U can use this program (FORM in this program)
to generate any kind of internal table
by specifying some inputs (ie. field list)
4.
REPORT abc.
COMPULSORY
FIELD-SYMBOLS: <dyntable> TYPE ANY TABLE.
FIELD-SYMBOLS: <dynline> TYPE ANY.
DATA: lt TYPE lvc_t_fcat.
DATA: ls TYPE lvc_s_fcat.
FIELD-SYMBOLS: <fld> TYPE ANY.
DATA : fldname(50) TYPE c.
PARAMETERS : infty(4) TYPE c OBLIGATORY.
DATA : iname LIKE dd02l-tabname.
START-OF-SELECTION.
GET INFO
CONCATENATE 'P' infty INTO iname.
DATA : ddfields LIKE ddfield OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'DD_NAMETAB_TO_DDFIELDS'
EXPORTING
tabname = iname
TABLES
ddfields = ddfields.
CONSTRUCT FIELD LIST
LOOP AT ddfields.
ls-fieldname = ddfields-fieldname.
APPEND ls TO lt.
ENDLOOP.
PERFORM
PERFORM mydyntable USING lt.
BREAK-POINT.
INDEPENDENT FORM
FORM mydyntable USING lt TYPE lvc_t_fcat .
Create Dyn Table From FC
FIELD-SYMBOLS: <fs_data> TYPE REF TO data.
FIELD-SYMBOLS: <fs_1>.
FIELD-SYMBOLS: <fs_2> TYPE ANY TABLE.
DATA: lt_data TYPE REF TO data.
ASSIGN lt_data TO <fs_data>.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt
IMPORTING
ep_table = <fs_data>
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
Assign Dyn Table To Field Sumbol
ASSIGN <fs_data>->* TO <fs_1>.
ASSIGN <fs_1> TO <fs_2>.
ASSIGN <fs_1> TO <dyntable>.
ENDFORM. "MYDYNTABLE
regards,
amit m.
Maybe you are looking for
-
In the icloud settings, I am told I need to accept the terms and conditions to use icloud. However, when I click on "Terms and conditions", I get a message "unable to connect to server". This has been happening for a week now since I upgraded to iOS
-
I've managed to get drag-and-drop working using the file-list array approach example pointed to on this forum. What I can't get to work, however, is a dragImage to show feedback of what is being dragged into the main canvas. In actual fact, the drag
-
Can't get past 51% download
Trying to download http://download.oracle.com/otn/other/ole-oo4o/ODTwithODAC112030.zip can't get past 51%.
-
Our new Textronix oscilloscope was assigned an IP address, and we are viewing this oscilloscope's traces over the web using the IP address assigned. Now, using LabVIEW, we want to download into a file an oscilloscope trace at a particular instant in
-
Just recently my iPad started to get lazy on me I'll go on a website and it has trouble moving through the different applications within it. It has nothing to do with the wifi because it's doing it no matter what wifi it is using at the time?