How to set Border in the Excel using UTL_FILE ?
Hi all,
Any one aware of
How to set Border in the Excel using UTL_FILE ?
Am doing excel creation from a stored procedure.
Thanks
Dora
Hello Dora,
if you need more than simple csv: at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the package behind the second link supports defining your own formats (and has a tutorial how to do it).
Regards
Marcus
Similar Messages
-
How to set Password protection in excel using java
Dear all,
I have no idea to write a java program that how to set password protection in excel. Please give me some solution using java tools. Thank a lot!
Regards,
kzyoDear Bamkin ,
I used your code and paste it in my program. The error is as the follow:
Code:
stmnt = c.createStatement();
String query = "select StudentNumber, Email, New_Email_Address from [Sheet1$] where Len(New_Email_Address) > 0";
System.out.println(query);
rs = stmnt.executeQuery(query);
stmnt.executeUpdate("SET PASSWORD=PASSWORD('Test')");
Error:
(Remark: Invalid SQL statement)
java.sql.SQLException: [Microsoft][ODBC Excel Driver] �����I SQL ���q���G�a����'DELETE'�A'INSERT'�A'PROCEDURE'�A'SELECT' �� 'UPDATE' �B
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3111)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:288)
at hk.gov.edb.util.ExcelHandle.updateNewEmail(ExcelHandle.java:414)
at hk.gov.edb.core.AppMain.doUpdate(AppMain.java:369)
at hk.gov.edb.core.AppMain$7.construct(AppMain.java:584)
at hk.gov.edb.util.SwingWorker$2.run(SwingWorker.java:127)
at java.lang.Thread.run(Thread.java:595) -
How to set border lines in table and also in template in the smartforms ?
How to set border lines in table and also in template in the smartforms ?
As I have to create table with following detals
total row = 3
row1 = 3 column
row2 = 6 column
row3 = 9 column
for 2nd and 3rd row data to be fetched using coding.
so can anybody explain me what should i use
Table or Template ?
and I want the border like excel format.
Can anybody suggest me ?
Thanks
nareshif the data is multiple i.e. line items choose table.
if the data is single i.e. fixed choose template.
Create table
> Draw u r no lines
> choose option select pattern
> select display framed patterns
Choose u r required one.
out lined, or full lined. u can choose option.
same procedure to be followed for template also.
with regards,
Kiran.G -
How to set border of excel cell through ole ?
How to set border either of left / right / top / bottom of excel cell through ole ?
Click on the outside the line above header and select all the columns and rows and set the border horz and vert this will solve your problem. if you select current data alone then it will select the current data alone borders. if you runa diff criteria then for the new values borders wont be there. so better always try selecting the column top i.e above the column header and set the border.
-
How can I connect to the database using ODBC within excel.
Hi,
How can I connect to the database using ODBC within excel and just refresh the data when needed.
Thanks,
Priyanka
Edited by: user554934 on Jun 9, 2009 2:53 AMThis is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
Thank you,
Tony Miller
Webster, TX -
I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.
Hi Lrwill,
If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
Cheers,
GB -
How to Download displayed output to Excel Using Bsp Application
Hi Experts,
please give me some idea because I am New In BSP.
How to Download displayed output to Excel Using Bsp Application.
If any sample code please do send me.
In my condition I am getting data in 2-3 table view formats on one page and i want download that in Excel.
please help me.
Regards & Thanks,
YogeshHi,
This is more a question for the BSP forum.
Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
runtime->server->response->set_header_field( name = 'Contnet-Type'
value = 'application/vnd.ms-excel' ).
runtime->server->response->delete_header_field( name = 'Cache-Control' ).
runtime->server->response->delete_header_field( name = 'Expires' ).
runtime->server->response->delete_header_field( name = 'Pragma' ).
Also check threads like
Download BSP data into Excel
export bsp-table to excel
Export BSP Table to Excel
Eddy
PS. Reward useful answers and earn points yourself -
How to Set "DateOnly" property in DateTimeControl using Javascript.
How to Set "DateOnly" property in DateTimeControl using JavaScript.
Is there any specific reason you want to set it through JavaScript ? You can directly set the DateOnly property in the markup itself.
<SharePoint:DateTimeControl runat=server id="dtControl" DateOnly="true"></SharePoint:DateTimeControl>
Please can you elaborate on what exactly is the requirement for setting this through javascript?
Geetanjali Arora | My blogs | -
Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
I have attached the VI.
Thanks for the help
Attachments:
new_control_and_acquisition_program.vi 946 KBTake a look at this document that discusses how to monitor IMAQ memory usage:
http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
Hope this helps -
Julie -
How to set and retrive the index log path stored by parameter LOG_DIRECTORY
how to set and retrive the index log path stored by parameter LOG_DIRECTORY.
http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/lsnrctl.htm#sthref72
http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/cmctl.htm#sthref239 -
How to set values to the structure containing a node with cardinality 0..n
Hello.
I 'm trying to set values for the node with cardinality 0..n. The node type is "Fields".
<xsd:complexType name="Field">
<xsd:sequence>
<xsd:element name="fieldCode" type="xsd:string"></xsd:element>
<xsd:element name="displayValue" type="xsd:string" minOccurs="0"></xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Fields">
<xsd:sequence>
<xsd:element name="field" type="tns:Field" minOccurs="0" maxOccurs="unbounded"></xsd:element>
</xsd:sequence>
</xsd:complexType>
I need to set several values for the element "fieldCode" but it has cardinality 0..1 and BPM does not allow it but I did not find any option about how to set values for the structure of type "Fields". Could you help me?
Best regards,
Timur SemenchukHi Marcus,
If there is no way you could change the cardinality of the node, and thus it can contain 0..n items, I think you should create-and-add a new element programmatically.
Since the collection can contain zero elements, I would add a 'new' button, which upon clicking adds one new element via:
IYourNodeElement yourNodeElem = wdContext.nodeYourNode().createYourNodeElement();
wdContext.nodeYourNode().addElement(yourNodeElem);
Hope this explains a bit!
Best,
Robin van het Hof -
Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
I have attached the VI.
Thanks for the help
Attachments:
new_control_and_acquisition_program.vi 946 KBgot these vi's off ni site a while ago - see if they help
Attachments:
Memory_Monitor.zip 132 KB -
Does anyone know how to set alerts in the iCloud calendar of Outlook 2010 for PC?
Does anyone know how to set alerts in the iCloud calendar on Microsoft Outlook 2010 for a PC? Outlook gives me a warning message and does not allow me to save alerts for calendar events created in iCloud calendar. It will allow me to save events in the non-iCloud calendars.
Ignore what office says, when the warning comes up saying that the reminder will not work click on yes,
I just tested it and i had the reminder on my ihpone in outlook and also as i had the calendar open in safari it popped up on there too ( I wasn't aware it did that) -
How do you write on the documents useing using work space
how do you write on the documents using work space
What type of documents are you trying to write on?
-
How can I see all the idocs used in the system
I am very new in this area. How can I see all the idocs used in the system. Those which are posted and those which are not.
Check thes sap help links:
http://help.sap.com/saphelp_nw70/helpdata/en/90/c4b523c4c411d2a5ee0060087832f8/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
- Regards, Dibya
Maybe you are looking for
-
How Do I Find Out Which Version Of Appleworks I have
Can anyone tell me how I find out what version my Appleworks is? I have two folders for Appleworks as it is loaded twice on my computer and I want to delete one of them.
-
hi, we have not closed the previous period (1/2008), bcoz still some work is pending. Now we want to do goods movement for the present month(2/2008). Can anybody help in this. thanks/regards vish
-
P.S. I feel as though I am forced into repairing the iphone before I can backup the information (photos, videos, contacts). If the apple ID on the device is the same as the one on my iMac I do not understand why I have to unlock the iphone by typing
-
Custom metadata in HDS stream bound for OSMF
Can someone tell me which "BOX" (atom) type in a HDS stream I could use to embed custom timeline metadata? I have access to, and can modify, the raw HDS stream. MDAT, MOOF,etc....? The stream will be played back in OSMF, and presumably I can modif
-
My backspace key won't work and I just changed the language from Norwegian to English. I don't know if it's a context, but please help me! I need to use InDesign. bav