Forms6i interface with Excel file
I want to interface forms6i with excel file.
Through Forms 6i read data from an excel file and load to oracle tables.
Hi
I'd agree that probably the best approach is to save the Excel file into a delimited file (maybe a comma-separated file) and read it in from there.
Reading a file using TEXT_IO is fine as long as the table isn't very large. Anything beyond a few hundred records, I'd strongly suggest using SQLLoader, as it is massively quicker and you don't have to go to the trouble of writing a routine to parse the line you've read in to split it up into its constituent fields.
If you do go down the route of reading lines in using TEXT_IO, you might find a routine like this useful:
PROCEDURE Get_Next_Field (record_in IN VARCHAR2,
current_position IN OUT NUMBER,
next_field OUT VARCHAR2,
separator IN VARCHAR2) IS
current_letter VARCHAR2(1);
BEGIN
LOOP
current_letter := SUBSTR(record_in, current_position, 1);
current_position := current_position + 1;
IF current_letter <> separator THEN
next_field := next_field || current_letter;
ELSE
EXIT;
END IF;
END LOOP;
--Trim off any enclosing characters
next_field := LTRIM(next_field, '"');
next_field := RTRIM(next_field, '"');
END;You can then call this procedure with a series of calls like this to get your values out of the line of text:
Get_Next_Field(line_in, current_position, field1, :separator);
Get_Next_Field(line_in, current_position, field2, :separator);(...where line_in is the line you've just read from your file, current_position is a number to show where you've got to in the line, field1 is the variable to hold the value you split out of the line and :separator is just that, maybe a comma character.)
Hope this helps
regards
Andrew
UK
Similar Messages
-
A serious issue with excel file read in ODI
hi gurus,
Issue with excel file read is that we can read only one file by setting the path from ODBC Data Source Administrator-->System DNS -->Select Work book
what i want to read the dynamic path(Every time I cant go back and set the Work book to select the excel file..
So i came up with a solution to write a Vbscript that convert the excel to csv my problem got solved for dynamic paths the script is as follow:
Set objArgs = WScript.Arguments
For I = 0 to objArgs.Count - 1
FullName = objArgs(I)
FileName = Left(objArgs(I), InstrRev(objArgs(I), ".") )
Set objExcel = CreateObject("Excel.application")
set objExcelBook = objExcel.Workbooks.Open(FullName)
objExcel.application.visible=false
objExcel.application.displayalerts=false
objExcelBook.SaveAs FileName & "csv",23
objExcel.Application.Quit
objExcel.Quit
Set objExcel = Nothing
set objExcelBook = Nothing
Next
Now this script convert the xls file to csv with comma seprated values
e.g in excel sheet if data is ABC XYZ PQR
csv will come with ABC,XYZ,PQR
here the delimiter is , i want the delimiter as pipe | who's ascii code is 124
but if i change 23 with 124 its not working i getting the error cannot save as...
can anyone tell me that what should be the correct code for pipe
so that the output is ABC|XYZ|PQR
AS WE CAN USE THE SCRIPTS IN TOOLS
Edited by: 789141 on Sep 14, 2010 11:33 PMI dont have the answer for your question but i have different approach in handling multiple Excel File.
Step 1. Copy a sample source Excel File and Call it Final.xls .
Step 2. Map this Final.xls to DSN and in Topology call this Final.xls
Step 3. Do the Reversing and Map and test the Interface . Once its done.
Step 4. Create a Package and using a http://odiexperts.com/?p=1426 get the list of all the Excel File
Step 5 . Using this http://odiexperts.com/?p=273 create a Loop to Read the Excel File name
Step 6 . Copy using OdiFileCopy to Final.xls and run your interface .
Step 7. Increment the Loop and copy your next File for Final and run the interface
Step 8 . Finally you will be able to read all the Excel File .
Step 9 . Delete the source file [ Optional ]
Hope this helps. -
TrueTime Card and how to interface with dll file!?
I am trying to interface with a PCI-SG 2U (IRIG) timing card (Used to made by TrueTime, now Symmetricom). Does anyone have a solution for this card in LV 2009?
If not, can anyone give advice on writing code to interface with .dll file? I am not sure how to pass through the "GENERIC_READ | GENERIC_WRITE" into the function to open the device. The function says to open it is:
TT_OpenDevice(boardID, GENERIC_READ | GENERIC_WRITE, &hDevice)
No clue on how to pass this in. Can anyone help?
Thanks -
TomThanks Mike. I do have the .h file and the sdk information. I went through and used the Import>Shared Library Tool and was able to find all the header information that way. I guess that my problem/question is, the documentation says that it is a DWORD to pass as an input, but LabVIEW says it is a uint32. I guess the real question is, what the heck do I pass in to the dll function? Should it be the string "GENERIC_READ | GENERIC_WRITE" or something else?
Thanks -
Tom -
Email attachment problems with "excel" files.
I have just upgraded to the iphone 4 from the 3gs and since doing so any emails I receive with excel files attached will not open the attachment? These files openened with no problem on the same email account on my 3gs.
Instead when I download the attachment and go to open it I am met with a page displaying....
"Unable to read document.
An error occured while reading the document."
Has anyone else having this problem or even better anyone know what the fix is to get these files showing up?
Any help would be appreciated,
KrisAfter much frustration about excel files not opening and repeatedly not getting answers from apple, I think I might have found another way. It seems that the new apple OS does not support older versions of excel. By saving the excel file in question (Save As) to "Microsoft Excel 2007 Workbook" the Workbook opens just fine as an E-mail attachment. If you have macro's you can save as "Microsoft Excel 2007 Workbook (Macro Enabled)" and it works also.
The Workbook in question as far as I was concerned was created in Microsoft Excel 2003.
Hope this helps
Apple needs to get on the ball. This was almost a dealbreaker with me.
Android is looking better and better every day. -
What apple software allows me to open and work with excel files?
What Apple software allows me to open and work with Excel files?
Numbers, OpenOffice, Microsoft Office 2008 or newer, or similar products. Microsoft Office 2004 doesn't work in 10.7.
(86805) -
Bug sending email with Excel file (immediate reply would he helpfull)
Hi ,
Below is have pasted a sample code where it will sends a email along with an attachtment (xls) .where the email is working perfectly but the xls file attachtment has a blank space in the first line .
where iam facing the problem ,
ie there should not be any blank lines at the top .
Please run the code one i have pasted below .u can find the bug .
can any one help me on this .
please have ur mail id in ( reclist-receiver ) so that u can check for the output.
This table requires information about how the data in the
tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are
to be distributed to the documents and its attachments.
DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
This table must contain the summarized data dependent on each object type.
SAPscript objects store information here about forms and styles,
for example. Excel list viewer objects store the number of rows and columns
amongst other things and PC objects store their original file name.
DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
*CREATION OF INTERNAL TABLE
DATA : BEGIN OF itobjbin OCCURS 10 ,
vbeln type vbrp-vbeln,
matnr type vbrp-matnr,
werks type vbrp-werks,
fktyp like vbrk-fktyp,
END OF itobjbin .
This table must contain the summarized content of the objects identified as binary objects.
*DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: objbin TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: wa_itobjbin LIKE itobjbin .
This table must contain the summarized content of the objects identified as ASCII objects.
DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
This table must contain the document recipients.
DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
This structure must contain the attributes of the document to be sent.
DATA: doc_chng LIKE sodocchgi1.
DATA: tab_lines LIKE sy-tabix.
DATA : V_FKTYP LIKE VBRK-FKTYP.
Creating the document to be sent
doc_chng-obj_name = 'OFFER'. " input contains the attributes of the document to be sent
doc_chng-obj_descr = 'EMAIL WITH EXCEL DOWNLOAD'. "input contains title/subject of the document
*BODY OF THE MAIL
OBJTXT = 'Hi'.
APPEND OBJTXT .
OBJTXT = 'Test for excel download'.
APPEND OBJTXT.
OBJTXT = 'Below is the attachment with Billing Document Details'.
APPEND OBJTXT.
OBJTXT = 'Regards'.
APPEND OBJTXT.
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
Creating the entry for the compressed document
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'RAW'.
APPEND objpack.
Creating the document attachment
(Assume the data in OBJBIN are given in BMP format)
select vbeln matnr werks
from vbrp into table itobjbin
up to 10 rows
where werks GE '1000'.
loop at itobjbin.
select single fktyp into v_fktyp from vbrk where vbeln = itobjbin-vbeln.
move v_fktyp to itobjbin-fktyp.
modify itobjbin.
endloop.
PERFORM build_xls_data_table .
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'ABC.XLS'. APPEND objhead.
Creating the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'XLS'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'XLS'.
objpack-doc_size = tab_lines * 255.
APPEND objpack..
Entering names in the distribution list
reclist-receiver = ''.
reclist-rec_type = 'U'.
APPEND reclist.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
CASE sy-subrc.
WHEN 0.
WRITE: / 'Result of the send process:'.
LOOP AT reclist.
WRITE: / reclist-receiver(48), ':'.
IF reclist-retrn_code = 0.
WRITE 'sent successfully'.
ELSE.
WRITE 'not sent'.
ENDIF.
ENDLOOP.
WHEN 1.
WRITE: / 'no authorization to send to the specified number of', 'recipients!'.
WHEN 2.
WRITE: / 'document could not be sent to any of the recipients!'.
WHEN 4.
WRITE: / 'no authorization to send !'.
WHEN OTHERS.
WRITE: / 'error occurred during sending !'.
ENDCASE.
*& Form build_xls_data_table
text
--> p1 text
<-- p2 text
FORM build_xls_data_table .
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
CONCATENATE 'Billing Document' 'Material Number' 'Plant' 'Billing category' ' ' INTO objbin SEPARATED BY con_tab.
CONCATENATE con_cret objbin INTO objbin.
APPEND objbin.
LOOP AT itobjbin .
CONCATENATE itobjbin-vbeln itobjbin-matnr itobjbin-werks itobjbin-fktyp' '
INTO objbin SEPARATED BY con_tab.
CONCATENATE con_cret objbin INTO objbin.
APPEND objbin.
ENDLOOP.
thanks in advance,
vinay .Hi ravi ,
Thanks ,for your help .now xls is working fine .
but now iam facing a problem with the same function module .for txt files .where all the records are formated in asingle line .
can u provide a solution for this ,which would be very helpfull.
below is have attached the sample code .
Thanks,
vinay.
FUNCTION Z_KAILASH_ATTACHMENT1.
""Local Interface:
*" IMPORTING
*" VALUE(EMAILID)
*" VALUE(SUBJECT)
*" VALUE(ATYPE)
*" TABLES
*" ATTACH_FILE STRUCTURE SOLISTI1
*" BODY OPTIONAL
This table requires information about how the data in the
tables OBJECT_HEADER, CONTENTS_BIN and CONTENTS_TXT are
to be distributed to the documents and its attachments.
DATA OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
This table must contain the summarized data dependent on each object type.
SAPscript objects store information here about forms and styles,
for example. Excel list viewer objects store the number of rows and columns
amongst other things and PC objects store their original file name.
DATA OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
This table must contain the summarized content of the objects identified as binary objects.
DATA OBJBIN TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
This table must contain the summarized content of the objects identified as ASCII objects.
DATA OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
This table must contain the document recipients.
DATA RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE .
This structure must contain the attributes of the document to be sent.
DATA: DOC_CHING LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
Create the internal table for body , subject
DATA: IT_BODY LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
CONSTANTS: con_cret TYPE C VALUE cl_abap_char_utilities=>horizontal_tab,
con_tab TYPE C VALUE cl_abap_char_utilities=>cr_lf.
Move Body to Internal Table (body into it_body)
LOOP AT BODY .
MOVE BODY TO IT_BODY .
APPEND IT_BODY .
ENDLOOP.
DOC_CHING-OBJ_DESCR = SUBJECT. "Subject of the Email
Move the Subject and Body to OBJTXT
OBJTXT[] = IT_BODY[].
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHING-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Convert IT to Excel format
IF ATYPE = 'XLS' .
*CONSTANTS: con_cret TYPE C VALUE cl_abap_char_utilities=>horizontal_tab,
con_tab TYPE C VALUE cl_abap_char_utilities=>cr_lf.
LOOP AT ATTACH_FILE .
REPLACE ALL OCCURRENCES OF '#' IN ATTACH_FILE WITH con_cret. " INTO objbin.
CONCATENATE ATTACH_FILE con_tab INTO objbin.
APPEND objbin.
ENDLOOP.
ELSEIF ATYPE = 'TXT' .
LOOP AT ATTACH_FILE .
REPLACE ALL OCCURRENCES OF '#' IN ATTACH_FILE WITH con_tab. " INTO objbin.
CONCATENATE ATTACH_FILE ' ' INTO OBJBIN .
APPEND OBJBIN .
ENDLOOP.
ENDIF.
****End-Code Excel Format .
DESCRIBE TABLE objbin LINES tab_lines.
objhead = subject. APPEND objhead.
Creating the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = TAB_LINES.
objpack-doc_type = ATYPE.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'TEST'. "Attachment File Name
objpack-doc_size = TAB_LINES * 255.
APPEND objpack..
reclist-receiver = EMAILID.
reclist-rec_type = 'U'.
APPEND reclist.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHING
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99 .
ENDFUNCTION. -
Time Capsule Dual: Working with Excel files in Windows Computer
We just purchased the latest-gen Time Capsule to replace another earlier edition TC and we are having a strange problem. We have three iMacs and one PowerBook G4 connected wirelessly to the TC, along with two Windows XP machines which are wired in to the TC. The issue is that the two WinXP machines cannot view Excel files from the TC. When they try to open and work with an Excel file from the TC, they get a message that there is not enough memory to open, work with, or save any Excel files and it won't let them open the Excel file at all. If they copy the file from the TC to the local WinXP computer, they can open it and work on it just fine. At first I thought the issue would be with the new TC, but I plugged back the old TC and it has the exact same problem. The only commonality between the two is that I foolishly updated the firmware on both to 7.4.1. The old TC was working just fine until I installed 7.4.1, and then it started to have the same problem handling the Excel files.
By the way, none of the Macs have any problems accessing and working on the Excel files off the TC, this only happens to the WinXP machines. Also, it only happens on the Excel files; we have other types of files in the TC and all of them seem to open and work just fine. But Excel is our mainstay so we're looking for a solution, can anyone help?Same happened to me a while back when i updated the firmware 7.4.1 . the macs were ok but the Windows PC's sharing the Time capsule would not save any excel files as errors like memory too low
etc started to appear. easy way to correct this was to got into airport Utility and downgrade back to 7.3.2 , from the menu , you can select what firmware rev you want to go back to select downgrade to 7.3.2 and everything will work ok after this, remember to deselect auto update and check for firmware in the Airport pref till Apple get this sorted out.
Cheers ian -
Working with excel files in C#, in a web farm
I am creating a excel file uploader that after the upload, searches for specific columns, saves data to SQL Server, then gets rid of the excel file.
I will be accepting .xls & xlsx file types. The internal file structure should be all fairly standard because this is an internal company app. So for example, the sheet with the data I am searching for may not always be the first in the book,
but it will always have the same name.
From the research I have done, it seems I can use the Interop library or OpenXML. I am leaning towards interop. Because we are on a web farm, I think it would be best to not save the file, just work with it in memory. Would this be a concern
if the files are only only around 50kb? I am only expecting 100 uploads a month.
If it is preferred or required I save the file before pulling the data out, should I save it to the application directory on the web server and expect it to be ok because I am saving/processing/deleting in one request? Or is there a better solution? I
thought of saving to our file share but that opens a whole new bucket of worms because of having to send credentials with the file when saving.
Simon.Hi Simon,
Open XML SDK can only manipulate Office 2007 and above versions. Since your web form accepts Excel 2003 file, it's not a good choice. But if you want to use the PIA(Primary Interop Assembly) to automate the excel files, it's also not recommened. Neither
of these two options are suitable in your case, you need to use some 3rd-party library to help you, as recommened in this Microsoft KB article.
http://support.microsoft.com/kb/257757/en-au
If your business requires the server-side creation of the Office 97, Office 2000, Office XP, and Office
2003 binary file formats, third-party vendors offer components that can help you. Microsoft does not provide any such components, so you will need to either build a solution yourself or purchase one from a third-party vendor. Many different
third-party products are available. You should investigate each solution to best match the vendor to your business needs.If you want to build your own solution that edits the Office 97, Office 2000, Office XP, and Office 2003 binary file
formats directly, you can obtain the file format specifications for free under the terms of the Microsoft Open Specification Promise (OSP). No technical support is available for the documentation or for the products that you create, but
documentation is available. For more information, visit the following Web site:
http://www.microsoft.com/interop/docs/officebinaryformats.mspx
As far as I know, NPOI is a good choice for you. You can search and try it. But as it's a 3rd-party library, we don't provide support for it. It also provide ability to process the worksheet in the memory.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Sending email with excel file as an attachment
Hi,
In my procedure I am creating one excel file and keeping that excel file in one location as specified in UTL_FILE_DIR.Now my requirement is to pick that excel file from that path and send it as an attachment through an Email.
Can anyone please give me the code to do that and what are the required set up to be done before sending the mail.
Please help me in this regard. This is an urgent requirement.
Thanks
SubhabrataHi,
Please refer the following link:
http://www.dbasupport.com/oracle/ora10g/10g_PLSQL02.shtml
There is para headed Sending E-Mail and Attachments with UTL_MAIL will clarify all your doubts. Link Listing 2.6
is good example.
If you get stuck while coding, get back to us.
Twinkle -
Connect interface with XML File in jdeveloper
Hello;
i want to design a webservice that take an employee ID , and return all employee's data (like his name ,departement, phone,email....)
i want to make interface and connect it with XML file wich has all employees data
how can i connect the interface ( input text box and output button) with XML file (taking the Id and searching inside the file and getting the data out in table as output)
i want to deploy it to get the WSDL file and URL to deploy it at application server to use it in webcenter>>>up 2 find an answer
i want the right way to do it? -
Problem with Excel file import
Hi,
I am trying the DIAdem 10 Eval and I want to import Excel files with huge amount of data. One file has text headers as
index x y
1 0.58 7.22
2 0.55 6.33
3 0.77 8.34
and another one doesn't have the text headers. Both have three columns and more than 100K rows of data. But I failed to load any of them. The error is "Cannot open Excel file". Any idea what's wrong?
Thank you very much!
DavidHi David,
I have a thought, but I don't know if it will work-- that is to read the Excel file out using the ADO data base connection that Microsoft provides for Excel files. There is, in fact, already a DataPlugin on www.ni.com/dataplugins which does this for both Excel and Access files. I'm attaching the DataPlugin below. You just need to detach the *.uri file to your hard drive, then double-click on it with Windows Explorer to register the DataPlugin (you'll get a short "registration succeeded" dialog).
Then in DIAdem-NAVIGATOR right-click on the bloated Excel file and select "Open with..." from the context menu. Then select the "ADO" DataPlugin to use in the loading process. The DataPlugin expects the first line of the Excel file to either contain the name of each column/channel or to contain the first value of each column/channel.
I'm cautiously optimistic that this will work,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Attachments:
ADO.zip 5 KB -
File extension error with Excel files transferred to PC
I am syncing files with my PC (Documents to Go). I noticed that Excel files that were accessible and functioning prior to the first week in September no longer work (interesting coincidence with the update to Gingerbread). I get a "'file.xls', is in a different format than specified by the file extension" message when I try to open any files modified by the Droid after that date. The same error occurs if I use the Sync tool or access the files from my PC using Windows Explorer. The files work fine if I email them from the Droid to the PC or if they were modified PRIOR to the first week of September. I also notice that picture files (jpg) after that date can not be opened but work fine via email to my PC. The file extension names do NOT change and the same error occurs when I upload to another PC. How can I fix this problem? I can only back up my files by emailing them........
(testing update)
DataViz responded with a couple of suggestions, here is my response:
Here are some additional tests I just completed which puts the cause back onto DataViz:
I created a simple Excel file on my PC and saved it as an ‘.xls’ file. (test.xls)
I synced it with my Droid and the file could be opened on my PC and the Droid. (I used both the Sync folder file and opening the file via Windows Explorer using the Mass Storage mode)
I then opened the file on my Droid and saved it (no changes to the xls file were made) and then synced with my PC. The error now occurred by both attempting to open the file in the PC ‘Docs to Go’ folder and via Windows Explorer.
I then emailed the same file. I opened the email on my PC and saved the test.xls file. It opened without errors.
I did the test again using the latest Excel format ‘.xlsx’ with the same failure.
I am running version 3.003 (961) Documents to Go
Bottom line; when Excel files are ‘saved’ on my Droid in Documents to Go, they can no longer be opened on my PC by either Sync or Windows Explorer. The same file works fine if mailed from Documents to Go. Documents to Go is corrupting the file in some way that prevents the transfer of that file to another device.
This still may be associated with the Droid OS upgrade, I am waiting for a response from DataViz............... -
I recieve a lot of excel files through email that i need to sign/manipulate and forward on to others. i have no problems opening them but i cant manipulate the document at all. i have looked at documents to go but it seems that i have to load a particular document on my laptop and then load it onto my iPad to be able to manipulate the documnet. Does anyone know how i can take an attached excel file from an email open it on my iPad manipulate it a little and then reattach it to an email and send it on?
I sure would love so help. If I can do this then I can leave my laptop at home.Hey KillerDawg and welcome to the forum -
You should consider [Numbers|http://www.apple.com/ipad/features/numbers.html] for your iPad. Likewise, Pages for iPad will work with a word file.
-GDF -
SQL insert statement in java with Excel file
Dear all,
I wrote a program is as the follow:
import java.io.*;
import java.sql.*;
public class handleExcel
Connection con = null;
Statement stmnt = null;
public handleExcel()
String excel = "C:\\EGS\\app_files\\info_update_form_exported_data.xls";
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String str="jdbc:odbc:DRIVER=Microsoft Excel Driver (*.xls);DBQ=" + excel + ";";
String sql = "insert into [Sheet1$] (Name, Age, Test1, Test2, Test3) values ('mary','16','aa','bb','vv')";
con = DriverManager.getConnection(str, "", "");
stmnt = con.createStatement();
stmnt.executeUpdate(sql);
catch(Exception e)
System.out.println("con is error!!");
e.printStackTrace();
public static void main(String[] args)
handleExcel TestHpc = new handleExcel();
But when I run it, the error is as the follow:
java.sql.SQLException: [Microsoft][ODBC Excel Driver]
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.handleExcel.<init>(handleExcel.java:31)
at hk.gov.edb.util.handleExcel.main(handleExcel.java:97)
Please help me to solve this problem. Thank you so much for your help!
Regards,
kzyoHi
You can use the[b] jakarta POI api in order to read/write Excel file from java. Pure Java, no drivers nedeed.
I tested and ok.
Hope this helps -
No option to "Edit in Browser" with Excel file in Sharepoint library
The excel file in my SP library does not have an option to "Edit in Browser". I can only seem to edit it within Excel, which requires me to download the file onto my desktop, then I would have to upload it again to SP. This obviously requires more
work and time to do a simple task.
I followed instructions from: http://office.microsoft.com/en-001/office-online-help/use-excel-web-app-in-a-sharepoint-library-HA102618998.aspx
Unfortunately, I dont have the "Edit in Browser" link for my Excel fileHi,
According to your post, my understanding is that you could not find the “Edit in Browser” option.
To use this option, we have to configure the Office Web App Server.
There are some articles about how to configure the Office Web App for SharePoint, you can refer to them.
http://blogs.technet.com/b/speschka/archive/2012/07/23/configuring-office-web-apps-in-sharepoint-2013.aspx
http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Maybe you are looking for
-
I guess it's all in the question really. But yeah, when I press on an app on the home screen, it opens for a fraction of a second and then closes again, just a flash, and it's starting to irk me. Thanks for any advice :)
-
Error 1722 while installing wireless button driver in Windows 8.1 64 bt
Hi Friend , I have a problem while installing the wireless button driver(sp63752), I am getting the error 1722. I searched for the solution . From some solution I got I installed the update BIOS driver sp66772. But even after that I am not able to
-
AW01N Depreciation calculation
Hi All, We have a requirement on Calculation of tax depreciation for countries US & CA(Canada). We are using 2 depreciation areas : 10 - MACRS 11 - AMT . The total acquisition am
-
Hi, I want to make back to back web service calls using WS data controls. I am using a web service proxy, and a Java class as a wrapper around the web service proxy data control. Step 1: I am able to successfully make the first web service call. Prob
-
MicroSD works with e71x but in nothing else. HELP...
I have an e71x with a 4GB MicroSD card in it. I just upgraded to an Android phone and when I put the SD card into it, the phone does not even show that there is a card in it. The same is true with my computer. The card works fine in the e71x, but