How to use get Spread sheet
Hi All
Can anybody help be in how can I open a spread shheet when I click a button in SWING .`
Also Can i edit the spreadsheet so that next time when I click its cpomes as uppdated spreadsheet.
Thanks
Hi my friends,
This page should use style css/wine.css, for example, but it is not doing this when I put it as a portlet. How should to stay my provider.xml file? When I must put the css directory?
Thanks,
Carla.
Similar Messages
-
How to read a spread sheet ( .xls ) file using a pl/sql procedure or func
Hello All,
Is it possible to read a spread sheet using Oracle pl.sql .
I know their is a util package that is read a file but how to read a spread sheet ... ?
thanks
kumarhi kumar,
Here is an example of how i read an excel file
DECLARE
l_start_file_name varchar2(50) := 'invoice_excel_c';
l_end_file_name varchar2(50) := '.csv';
l_file_name varchar2(100);
l_sql varchar(32767);
refresh_cdc varchar2(5) := '00304';
begin
l_file_name := l_start_file_name||REFRESH_CDC||l_end_file_name;
l_sql :=
'create table exter_invoice_excel '||
'( '||
'Product_name varchar2(255), '||
'Net_Sales Number, '||
'Net_Adjustments Number, '||
'Cancels_Count Number, '||
'Cancels_Amount Number, '||
'Cashes_Count Number, '||
'Cashes_Amount Number, '||
'Claims_Count Number, '||
'Claims_Amount Number, '||
'Returns_Count Number, '||
'Returns_Amount Number, '||
'Free_Prize_Count Number, '||
'Free_Prize_Amount Number, '||
'Free_Promo_Count Number, '||
'Free_Promo_Amount Number, '||
'Promo_Credit_Count Number, '||
'Promo_Credit_Amount Number, '||
'Return_Commission Number, '||
'Net_Discounts Number, '||
'Total_Fees Number, '||
'Sales_Commission Number, '||
'Cash_Commission Number, '||
'Tkt_Charge Number, '||
'Subscription_Commission Number, '||
'Interim_Sweeps Number, '||
'Net_Due Number, '||
'Retailer_id Number, '||
'Retailer_Name varchar2(255) '||
') '||
'ORGANIZATION EXTERNAL ( '||
' TYPE oracle_loader '||
' DEFAULT DIRECTORY GTECHFILES '||
' ACCESS PARAMETERS ( '||
' RECORDS DELIMITED BY NEWLINE '||
' CHARACTERSET WE8MSWIN1252 '||
' BADFILE ''invoice_excel.bad'' '||
' DISCARDFILE ''invoice_excel.dis'' '||
' LOGFILE ''invoice_excel.log'' '||
' FIELDS TERMINATED BY '','' RTRIM '||
' MISSING FIELD VALUES ARE NULL '||
' ) '||
' LOCATION ('''||l_file_name||''') '||
' ) '||
'PARALLEL '||
'REJECT LIMIT UNLIMITED ';
execute immediate l_sql;
l_sql:= 'INSERT INTO INVOICE_EXCEL_TEMP '||
' ( Product_name , '||
' Net_Sales , '||
' Net_Adjustments , '||
' Cancels_Count , '||
' Cancels_Amount , '||
' Cashes_Count , '||
' Cashes_Amount , '||
' Claims_Count , '||
' Claims_Amount , '||
' Returns_Count , '||
' Returns_Amount , '||
' Free_Prize_Count , '||
' Free_Prize_Amount , '||
' Free_Promo_Count , '||
' Free_Promo_Amount , '||
' Promo_Credit_Count , '||
' Promo_Credit_Amount , '||
' Return_Commission , '||
' Net_Discounts , '||
' Total_Fees , '||
' Sales_Commission , '||
' Cash_Commission , '||
' Tkt_Charge , '||
' Subscription_Commission , '||
' Interim_Sweeps , '||
' Net_Due , '||
' Retailer_id , '||
' Retailer_Name , '||
' SOURCE , '||
' INSERTED_DATE , '||
' CDC , '||
' UPLOADED '||
') '||
' select '||
' ltrim(rtrim(product_name)) , '||
' Net_Sales , '||
' Net_Adjustments , '||
' Cancels_Count , '||
' Cancels_Amount , '||
' Cashes_Count , '||
' Cashes_Amount , '||
' Claims_Count , '||
' Claims_Amount , '||
' Returns_Count , '||
' Returns_Amount , '||
' Free_Prize_Count , '||
' Free_Prize_Amount , '||
' Free_Promo_Count , '||
' Free_Promo_Amount , '||
' Promo_Credit_Count , '||
' Promo_Credit_Amount , '||
' Return_Commission , '||
' Net_Discounts , '||
' Total_Fees , '||
' Sales_Commission , '||
' Cash_Commission , '||
' Tkt_Charge , '||
' Subscription_Commission , '||
' Interim_Sweeps , '||
' Net_Due , '||
' Retailer_id , '||
' Retailer_Name , '||
' '''||l_file_name ||''', '||
' sysdate , '||
' '''|| REFRESH_CDC ||''', '||
'''N''' ||
'FROM '||
'exter_invoice_excel '||
'WHERE retailer_id is not null and ltrim(rtrim(product_name)) in (''Loto'',''Inst Tk'')';
execute immediate l_sql;
l_sql :='drop table exter_invoice_excel';
execute immediate l_sql;
exception
when others then
rollback;
l_sql :='drop table exter_invoice_excel';
execute immediate l_sql;
debug_message('INVOICE_EXCEL_UPLOAD/'||REFRESH_CDC,'Unexpected Error '||sqlerrm);
END;
--truncate table invoice_excel_tempjust go through the code, it would help u for sure
cheers -
I wish to use Spread Sheets developed on my Imac (OSX 10.6.8 with Numbers 08) on my new Ipad Mini. Currently they will open but I cannot make entries.
Is there some software I need to download to my Ipad ?
If I update my Imac Numbers 08 will it still work with existing spread sheets ?
If I upgrade my OSX 10.6.8 will it impact my files originated under my old OSX and will all my programs work?
Is there a work aropund that will allow me to use those Spread Sheets on my Ipad ?
As informative as Apple is with their products, I see little that addresses compatability issues. Art they non existant ?
I hate to make any changes unless I know I am not going to be causig a lot of grief!
Any assistance would be appreciated.On looking at the secure.log on the iMac with OSX10.6.8, I see these entries at each attempt to scp into the iMac:
Dec 29 11:06:20 molika sshd[7248]: in pam_sm_authenticate(): Failed to determine Kerberos principal name.
Dec 29 11:06:26 molika sshd[7246]: Accepted keyboard-interactive/pam for prowat from 137.110.243.132 port 35571 ssh2
Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 created
Dec 29 11:06:26 molika com.apple.SecurityServer[26]: Session 0x236a14 attributes 0x20
Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 dead
Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Killing auth hosts
Dec 29 11:06:27 molika com.apple.SecurityServer[26]: Session 0x236a14 destroyed
I don't know what to make of this.
Peter R -
Hi' how do i get contact sheet on cs5 extended
hi, how do i get contact sheet on adobe cs5 extended?
Which operating system are you using?
These are the optional plugins which include the contact sheet II plugin
windows
Adobe - Photoshop : For Windows : Photoshop CS5 Optional Plugins
mac
Adobe - Photoshop : For Macintosh : Photoshop CS5 Optional Plug-Ins (Mac)
The windows version requires a manual install, so read the enclosed pdf for instructions
The mac version has an automated installer available and then you need to run photoshop cs5 in the 32 bit mode
(right click on the Adobe Photoshop CS5.app in the Applications>Adobe Photoshop CS5 folder, select Get Info then tick the Open in 32 bit Mode box) -
How to use get getResourceAsStream
Gday all,
I gave up trying to comprehend the API doco and tutorials on the How to use get getResourceAsStream. I don't care how the class loader locates resources... I just it to work. Now!
Here's what works... and what doesn't work...
package krc.geometry;
import java.util.Properties;
import java.io.FileInputStream;
import java.io.IOException;
import krc.utilz.io.RuntimeIOException;
abstract class GeometryProperties {
private static Properties properties = new Properties();
static {
try {
// properties.load(new FileInputStream("c:/java/home/src/krc/geometry/Geometry.properties")); //WORKS
// properties.load(new FileInputStream("c:/java/home/classes/krc/geometry/Geometry.properties")); //WORKS
// properties.load( (new Object()).getClass().getResourceAsStream("krc/geometry/Geometry.properties")); //DOES NOT WORK
// properties.load( (new Object()).getClass().getResourceAsStream("krc.geometry.Geometry.properties")); //DOES NOT WORK
// properties.load( (new Object()).getClass().getResourceAsStream("Geometry.properties")); //DOES NOT WORK
// properties.load( (new Object()).getClass().getResourceAsStream("krc\\geometry\\Geometry.properties")); //DOES NOT WORK
properties.load( (new Object()).getClass().getResourceAsStream("/krc/geometry/Geometry.properties")); //WORKS
} catch(IOException e){
throw new RuntimeIOException("Failed to load GeometryProperties: " + e.getMessage());
static Properties get() {
return properties;
static String getProperty(String key) {
return properties.getProperty(key);
public static void main(String... args) {
System.out.println(GeometryProperties.getProperty("format.double"));
}I hope someone finds this helpful someday.
Some related links are:
http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getResourceAsStream(java.lang.String)
http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html#getSystemResourceAsStream(java.lang.String)
http://java.sun.com/javase/6/docs/api/java/lang/ClassLoader.html#getSystemClassLoader()
http://www.google.com.au/search?hl=en&q=getResourceAsStream+tutorial&meta=&btnG=Google+Search
http://rachel.sourceforge.net/tutorial.html
http://forum.java.sun.com/thread.jspa?threadID=5227823&messageID=9928698
PS: I think the API has ludicrously complicated explanation of something which can be explained succinctly by example... It's a classic case of a "correct" description which only makes sense once you already know how it works. Whomever wrote that one gets 3 out of 10 stars from me... ie No bananas.
Cheers. Keith.
Edited by: corlettk on Dec 2, 2007 9:28 AM - typos.I've noticed a good google hit rate on this forum, especially on threads with meaningful a subject lines... That's how I found these forums in the first place... I'm hoping that posting solutions and comments here (as well as the occasional question) will make them available to others from google... I doubt that any site I created would earn the same "front page" status as Sun's site.
Besides, doesn't it still cost money to setup a blog or your own homepage?
I admit I'm intrigued despite myself... I'm aware that both http://www.joelonsoftware.com/ and http://www.dreamincode.net/ (and problably many others) started as little personal blogs. -
Help ! How do I get a sheet of wallet size of the same picture to print
Hi,
I have tried everything to get wallet size pictures to print. Can anyone please tell me how to get a sheet of the same picture in wallet size? I'm looking for a whole sheet of the same picture that I can cut and give away. I have iPhoto 09. I cannot figure out how to do this. Any help would be awesome. They are family Christmas pictures.
Thank Youselect the photo and click print, set the printer, the paper size and *photo size you want* and click customize - in the settings select multiple copies on a photo and click print, select any printer specific options and click print
What photo size did you set?
LN
Message was edited by: LarryHN -
How to use get() method of hashmap in jsp
Hi,
Iam using hashMap in action form from which I want to retrieve the value by giving the key in jsp page.
ex: HashMap m = new HashMap();
m.add("key", "value");
String v = m.get("key");
I want to know how implement m.get("key") in jsp without doing iteration.
Thanks & Regards,
Nasrin.NHi
First of all I would say that there is no "add" method for Hashmap, its put
secondly try this
<bean:write property="map_key" name="mapSetterGetter" /> -
How to use get column name.vi in SQL toolkit 2.0?
Due to the vi "get column name.vi" paremeters,no table name has connected to the vi. So, I want to ask how to use this vi for gain one column name of a table. Maybe there are some other ways to solve column name getting.
Thanks.Thanks!
Error 4101 Description:
Execute SQL - The connection, statement, or query handle you provided is not valid.
I don't just used the toolkit in a while,now, I am developing a irrigation system. For the table field names defined by users,column names must be known before any select operations. Do you have any other good idea about drawing out the columnname parameters?
As you know, a valid DSN and table have been also available. The database I used is Access. The bad thing to me is that there is no any text information gotten. And I think, it may be some problems in connection way which I don't find out.
Really appreciated by your reply.
Could you give me some example in the aspect?
Thank you again. -
How to use a excel sheet as a database.
Using JSP i have to use a Excel sheet as a database.ie, i have to store and fetch data into or from a Excel Sheet and execute SQL Queries. Is it possible?
If possible please give a sample code for that if anybody have the sample code.Hi Louis,
[Here|http://img125.imageshack.us/my.php?image=exceltestlo7.jpg] is the result of your data. I downloaded your excel sheet and created a simulated service in 7.1.1 and it works fine.
Below are the steps:
1. Go to Tools -> service component wizard
2. The popup opens : Step1 : Enter the name of your service component
3. Go to Excel spreadsheet Copy the data for which the service needs to be created.
4. Step 2 : Paste the copied Excel data in the popup
5. Step 3 : Define Input -> just click next
6. Step 4: Define Conditions -> just click finish.
Let me know if it helps.
Good Luck,
Dharmi -
Hi,
I am trying to use Get-WebHandler , Get-Website in Powershell 2.0 version .It is throwing error as below
" Retrieving the COM class factory for component with CLSID {688EEEE5-6A7E-422F-B2E1-6AF00DC944A6} failed due to
the following error: 80040154 "
It is working fine in powershell 4.0 version but not working in powershell 2.0 version.Can anyone suggest solution to this.
Some IIS commands which are working fine in Powershell 4.0 , are throwing above error in Powershell 2.0 version . Please suggest me the best solution to fix this issuethis is a duplicate post. I suspected the same
http://social.technet.microsoft.com/Forums/windowsserver/en-US/87655dab-84ea-4e1d-8b43-b5c193f8702a/some-powershell-40-version-iis-commands-not-working-in-powershell-20-?forum=winserverpowershell#352bfa16-8c03-49fd-825c-89e3c150522b
Indeed yeah we need to import module
Regards Chen V [MCTS SharePoint 2010] -
How to use get-mailbox -Identity to select or target multipul users.
When I use this statement, the command executes just fine, and all is while.
Get-Mailbox user1 | Search-Mailbox -SearchQuery 'Attachment:"Query1"' -targetmailbox "admin" -targetfolder "test" -searchdumpster -loglevel full
what also works is this:
Get-Mailbox -Server Server1 | Search-Mailbox -SearchQuery 'Attachment:"Query1"' -targetmailbox "admin" -targetfolder "test" -searchdumpster -loglevel full }
However I need to target about 10 user mailboxes for this search (and larger a delete\purge) I'd rather not run the same command 10times just changing the user name, is there a way to put that all on one search command?Run your command like this:
"User1","User2","User3","User4","User5","User6","User7","User8","User9","User10" | Get-Mailbox | Sort Name |
Search-Mailbox -SearchQuery
'Attachment:"Query1"' -targetmailbox
"admin" -targetfolder
"test" -searchdumpster
-loglevel full
That will iterate through each mailbox individually. You can also put all the names into a txt file (one alias to a row) and use
Get-Content <filename> instead of the list of aliases - that makes it simpler to update your list.
Get-Content <filename> | Get-Mailbox | Sort Name | Search-Mailbox
-SearchQuery 'Attachment:"Query1"'
-targetmailbox "admin"
-targetfolder "test"
-searchdumpster -loglevel full -
Hi;
I've been asked to insert some EXCEL spread sheets into a
site so visitors
can plug in numbers and have the spread sheet's formulas spit
out the
results. Is that possible or should I be looking for some
scripts to do that
Thanks;
Pat> I've been asked to insert some EXCEL spread sheets into
a site so visitors
> can plug in numbers and have the spread sheet's formulas
spit out the
> results. Is that possible or should I be looking for
some scripts to do
> that ?
Is this just to calculate values for an end-user? If so, a
variety of
javascript options should meet your needs.
Otherwise, if this is an actual spreadsheet that multiple
people need to be
able to access and edit and save via a web browser, that's a
rather large
undertaking.
-Darrel -
How to use own style sheet in user interface templates to change buttons, fields look
I want to use my own style sheet to change the appearance of buttons, form fields etc. while applying my own user interface template. I know I can create an unstructured UI template to change logos, body color etc. but how do I apply css to buttons, fields generated by the portal components form wizard ?
If this is not possible, how do I create my own form and get the same functionalities of a wizard generated form ?
Thanks.Mrinal,
I have solved that problem fortunately.
What I did was to create my own unstructured user interface template. In the unstructured UI template, you can use style.
for example, in between the <head> tags, write <style> tages and create own classes for buttons, textboxes etc.
Then write a javascript to assign those classes to the buttons. Call the javascript function on OnLoad event in <BODY> tag.
That will do the job.
for example you have a style class called buttonclass for buttons.
<script langauge=javascript1.1>
function setstyle(form) {
for (var i=0; i<form.length; i++) {
if (form.elements.type == 'button') {
form.elements[i].className = "buttonclass";
</script>
<BODY onLoad = "setstyle(document.forms[0]);">
hope this helps.
Mainak -
Hi my friends,
I created a JSP file that contains a report built using Reports Builder. When I run this page using a browser, my report is displayed correctly, including the style imported from Report Builder. But when I try run this page as a portlet, my report is being displayed, but style sheet is not being displayed. Why this is happening?
Someone could help me?
Thanks.Hi my friends,
This page should use style css/wine.css, for example, but it is not doing this when I put it as a portlet. How should to stay my provider.xml file? When I must put the css directory?
Thanks,
Carla. -
When clicking on "new sheet" in an existing file on numbers all I get is a blank screen. I have added numerous sheets prior to this successfully. What changed and how do I change it back?
Hi GSP,
I can't reproduce your problem.
Does the spreadsheet behave normally otherwise? What happens if you try to add a table to that blank sheet?
quinn
Maybe you are looking for
-
OK, hope the collective wisdom here can help me out. I recently unpacked my iSight after moving. Before i moved i was using my iSight with my G5 [i believe i was at 10.4 when i moved]. I put the camera back in its original packaging for transport, bu
-
Hi, I am encountering a problem while exporting the ALV grid output to excel. The ALV output has 39 columns. When exported to excel the first 38 columns comes in one row and the 39th column comes as a second row under the first column. Please let me
-
[CS3:Mac]Script Runner question...
Hi,<br /><br />I'm trying to perform a simple test to run a javascript file in my plugin.<br />My first question is do I need to setup/register/add something in plugin to be able to run a script in plugin? the reason I ask this, i get an error in li
-
Can I fullfill from BADI customer fields that appear at item overview ?
Hi, I can see that in SAPLBBP_SC_UI_ITS 120 (item overview) I have fields CUST1...CUST5. called in runtime GT_SCR_ITMOVR_I-CUST1.... I have tried to show content using a screen variant, but I haven't achieved. I think that is working but this field
-
Calender events being deleted on sync?
Hi Our workplace uses Iphones (v4) and Exchange for the mail. Recently Iphone users have been reporting that entries made into shared calenders are missing. I suspect that when the users of these phones have been syncing their phones with their Itune