How to bind table data to datatable component and show all the table data??
I bind table to datatable component !
The datatable has four rows,
but the datatable alway show the first row data in its four rows,why??
do you mean at design time or at runtime?
at design time, the datatable uses generic fields to
show if data type is numeric, text, date, etc...
If this is at runtime,
- what driver are you using?
- how did you bind the data to the table?
- what is the resulting code in the Java backing file?
hth,
-Alexis
Similar Messages
-
How to read the data from excel file and store into the table?
Hi All,
I have table with BLOB datatype contains a excel file. I have to read that data from excel and store into one table with all the fields in excel.
All the excel fields and my table columns are same.
Can you share with me how can acheive this using LOB's?
ThanksHi OraSuirya,
you can try with external tables .
syntax as follows
create table ext_table_csv (
i Number,
n Varchar2(20),
m Varchar2(20)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delimited by newline
fields terminated by ','
missing field values are null
location ('file.csv')
reject limit unlimited;
For this you need to create directory
Directory Creation syntax:
create or replace directory ext_dir as 'D:\oracle\user_dir\ext_dir';
grant read, write on directory ext_dir to <User>;
please paste the excel file in the particular directory .
I hope this will help you.
Please correct me if I am wrong anywhere .
Thanks,
Tippu. -
My two line graphs covers six months, but only shows three months How can I make it show all six months
select the chart, then open the Chart Formatter:
Then click "Axis", then "Category (X)"
Change the "Label Angle" to "Left Vertical" or "Right Vertical" -
How can I dynamicall​y read a file and show/plot the data in the GUI?
Hi, everyone,
I hope to implement a VI with the following function:
Usually, when we "read a file" in VI and then show the data in the Waveform Chart or other display GUI, the VI will first read and record all of the data from the file and then show them simultaneously. Now, I want to implement a VI, which could read the data from a file and display it in a time series. That is, I can define a "sampling rate" or "reading rate", like 100 data points / second, then the data points could be correspondingly shown in Waveform Chart one by one as the time moves on. The key purpose is to simulate a real-time data collection module using an existing file.
I don't know how to implement this function. Any suggestion and solution are really appreciated.
Thanks.
ZhanpengHeres the same effect, just a different approach :
The code in the red box was used to create data that you would be getting from a file.
What you could do is (shown above) :
- Read all of the data
- Index only one value at a time, and set the 'sampling rate' using a wait in a while loop.
- Build an array using this value, which will simulate collecting data in real time.
- I used an array of the iterations as X-values, because they coincidentally correspond to # seconds in my example
- I then bundled the time array (xvalues) with the values from your file (yvalues)
- Send that bundle to an XY graph
That should work, though you could implement some different logic for different sampling rates.
Let me know if you need a hand with that.
Message Edited by Cory K on 02-26-2009 11:36 AM
Cory K
Attachments:
graph from file.PNG 10 KB -
To processa huge data with good speed and also paint the same data!
In my project genebrowser in which i am plotting gene, snp, and various other map, I am teking input as a flat file and also page is dynamic like user can change the coordinate view that he wants to see.
1. We have to plot GC percentage after reading the file and this GC % data is of around 10-15 MB size.How to manage this?"
2. due to plotting this huge data the painting of components get very slow.how to manage this?If you use SS2008 and onward take a look at table valued parameter
create table myTable (col1 int, col2 datetime, col3 varchar(max))
go
create type myTableType as table (col1 int, col2 datetime, col3 varchar(max))
go
create procedure up_myTable_insertFromTable
@myTableData myTableType readonly
as
insert into myTable (col1, col2, col3 )
select col1, col2, col3
from @myTableData
go
declare @myTable myTableType
insert into @myTable values(1, getdate(), 'Table Valued Parameters are great')
exec up_myTable_insertFromTable @myTable
The stored procedure parameter has to be READONLY.
This means that you cannot modify it within the stored procedure.
You can only modify it in the scope it was created. i.e.
If you created a table type variable in your procedure you can modify the data in it,
however if you pass that to another procedure that other procedure cannot modify it as it wasn't create
in the scope of that procedure.
Otherwise
1 /*
2 Here is the string that we need to split
3 */
4 DECLARE @str VARCHAR(100)
5 SET @str = '0001,0002,0003,0004,0005'
6
7 /*
8 I am converting the string to an XML structure by
9 inserting XML tags.
10 */
11 DECLARE @x XML
12 SET @x = '<i>' + REPLACE(@str, ',', '</i><i>') + '</i>'
13
14 /*
15 Now we can apply XQuery to return a result set
16 */
17 SELECT x.i.value('.', 'VARCHAR(4)') AS Item
18 FROM @x.nodes('//i') x(i)
19
20 /*
21 Item
22 ----
23 0001
24 0002
25 0003
26 0004
27 0005
28
29 (5 row(s) affected)
30 */
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
My husband and I use the same apple Id. We would like to each have our own apple id, but we do not want to lose all our information associated with the current id. One of us will keep the original. If one us creates a new apple id how will that affect the iPhone and iTunes?
That would be my suggestion. Just keep using the common one for purchases in the stores. Then each get another AppleID using a free gmail, AOL, hotmail, MS Live or whatever email account.
Delete your current iCloud account and login with the new AppleID, and logout of Messaging and then backin with the new AppleID. Now you have a shared iTunes/App store account, but completely separate, independent iCloud and iMessage accounts.
You can still share calendars if you wish to, even across separate accounts - http://support.apple.com/kb/ph2690 -
Cmd for exp and importing all the table data's in a specified schema
i need to export table data without exporting the defenition how can i do this
Why do you have such a requirement?
Are you worried about import failures if the object already exists on the database? -
How to refresh the data in a container and to update the new data
Hi,
I have created a Module Pool Program in which i have two containers to display the long text.
Initially this container is filled and based on some condition i want to update the text in the same conatiner.
I am using the below two classes to do all this.
cl_gui_textedit,
cl_gui_custom_container,
Could someone help me how to remove the long text in the container and update the new long text.
I am getting the new long text but not able display it in the same container. Please someone help me how to refresh and update the container.
Thanks in advance.Hi
Try this.
IF cl_gui_textedit IS INITIAL.
create control container
CREATE OBJECT cl_gui_custom_container
EXPORTING
container_name = 'Container Name''
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5.
create text_edit control
CREATE OBJECT cl_gui_textedit
EXPORTING
parent = cl_gui_custom_container
wordwrap_mode = cl_gui_textedit=>wordwrap_at_windowborder
wordwrap_to_linebreak_mode = cl_gui_textedit=>false
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5.
ENDIF.
*--use method to set the text
CALL METHOD cl_text_edit->set_text_as_stream
EXPORTING
text = t_lines ( Internal table with long text).
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
regards,
Raghu. -
Crystal report not showing all the table in SAP CRM
Hi
I am connecting crystal report 2008 using open sql connectivity (SAP table, cluster or Function ) with SAP CRM system. It is showing some of custom tables under "DD" but not all.
Wanted to understand what setting make a new custom table (transparent) to show under DD in SAP table, cluster or function connection
Help is greatly appreciated
Thanks
PadmanabhHi Rao,
Try to edit the following registry and check
HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\FetchOptions\NTablesMax
Give the value as 20000
Thanks,
Sastry -
After i connected my iphone to my computer to upload some pictures, the couple of apps that i had synched to my itunes, later i noticed that this deleted them from my iphone, therefore i re-connected my phone, dragged that apps back onto my phone and all seamed okay. Till i went to play an app (dinner dash) and notice that now only was all my data (scores and level beaten) erased, but i had also purchased extra levels and these are no longer available, they are asking my to pay for the levels again. I know they weren't expensive, but i already paid for these and obviously still want them without having to pay again? Any help would be great, i can't even seam to find a email address that i could write to on the apple site for help!! I either want to get these levels again, or my money back to download them again.
Hello johnohuk,
Thanks for the question. It sounds like most of your music was purchased from the iTunes Store. If your country supports iTunes in the Cloud, you can download your past purchases using this article:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/HT2519
Thanks,
Matt M. -
Am developing a website. after completion of preparing it, some textfield alignments are not in a proper order and some buttons are missing. What is the solutions for this??
Could you post a link to a publicly accessible page that doesn't require authentication (log in) to access?
Note that on Linux the width of text fields is determined by the size and font-size that is specified.
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
*http://forums.mozillazine.org/viewforum.php?f=25
The helpers at that forum are more knowledgeable about web development issues.<br>
You need to register at the MozillaZine forum site in order to post at that forum. -
How to see all the tables in ABAP
how to see all the tables in ABAP
i need to see all the tables present in tcode se16.Hi Thiru ,
its tough to give all.so pls see the below links u can get all.
http://www.erpgenie.com/abap/tables.htm
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=listofalltablesin+abap&cat=sdn_all
http://www.guidancetech.com/people/holland/sap/abap/
http://www.sap-img.com/ab017.htm
http://abap-gallery.blogspot.com/
thanks
karthik -
What are all the tables used? experts help me
hi
what r all the tables used for this report.
<b>Delivery Performance Report - to compare the customer delivery schedules with the deliveries created in SAP to determine whether they are early, on-time, or late. This measurement is done by comparing the customer request date against the goods issue date from the delivery</b>
please any one help me
thanks in advancehi.
If you know standard transaction or program for purchase order or for any function . you can know the affected tables by that transaction or program USING TRANSACTION
'SE49'.
I am working on 4.6c it does exist in this version.
if does not exist on ur version
then other way to find affected tables by a transaction or program is--
first find the development class for that transaction (like Va01) then goto se80 and enter that development class .it will show all the tables affected .
steps to find Development class for example (Va01).
press F1 to any field then click on tech. info
(ii) double click on program name(SAPMV45B).
(iii) click on object directory entry in GOTO menu.
(iv) from here u will get Development class (VA).
now in se80 u will get all the databasec tables under the node object entry.
hope this will help.
Regards .
vikas -
Show all items in data form web part when no filter value
I have connected a XSLT list view web part with a data form web part.
The list view web part sends the connection parameter and the data form web part filters the corresponding content.
I need the data form web part to show all the data in the list when the connection parameter is empty.
Please let me know how i can implement this.Any ideas !!
-
How can I write a script which will truncate me all the tables defined by a query similar to this: select table_name where tablespace_name != 'SYSTEM' ?
Look into dba_tables and spool a script/file that you can later run from SQLPlus:
select 'truncate table ' || owner || '.' || table_name || ';'
from dba_tables
where owner <> 'SYSTEM'
-Chuck
Maybe you are looking for
-
Help with Apache plugin for Tomcat
I downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz from apache.org. I am trying to install this without any progress. The web page http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html gives lots of info on how to install the plug
-
Aperture 3 and recovered projects
I'm running Aperture 3 with Mountain Lion on an iMac. I had trouble opening Aperture 3 and went through the Repair Library Database and Repair Permissions routine a number of times. I finally removed Aperture 3 and re-installed it. After upgrading to
-
Hi, How can I check 2 variable with OR IF NOT v_tab OR v_tab1 IS INITIAL. do the required cahnges ENDIF. Is the above logic correct, if not how to do.
-
Erro while configuring domain for oim
Preparing... Extracting Domain Contents... Creating Domain Security Information... Domain Creation Failed! Domain Location: /home/nazeem/Oracle/Middleware/user_projects/domains/Testing_domain Reason: null Exception: Traceback (innermost last): File "
-
I have ensured I have installed the latest version of iTunes and conducted everything to the point of burning from a playlist to a CD. When I do this the iTunes window states "Disc Burner or Software not found" "CD/DVD doesnt have connectivity to bur