I wish to import a Bank csv file into my numbers spreadsheet but all of it goes into one column which I can't separate
I wish to import a csv file from my Bank into a numbers spreadsheet but I can't expand it from the one column it's in . Can anybody help Thankyou
This Automator Service (Dropbox download) should do the job, eliminating the need for a trip to TextEdit, etc.
The one-time installation is simple: just doubleclick the .workflow package. You may have to click "Download Anyway" in System Preferences > Privacy & Security.
To use, in Finder select the csv file, rightclick, and in Services in the contextual menu select CSV to Tabs on Clipboard. Choose the delimiter when prompted (usually it's a comma but there are other choices). When the "ready to paste" notification appears a few seconds later, click once in a Numbers cell and command-v to paste the data. (If needed Numbers will automatically expand the table to accommodate the data.)
To remove or rename the Service, in Finder hold down the option key and in the menu Go > Library > Services.
SG
Similar Messages
-
How do i import my local csv files into HANA database as temporary tables using java program?
I want to import my local csv file into database for further apply Join with other tables programmatic in JAVA
Hi Vivek,
Please go through the following blogs and video to resolve your issue.
Loading large CSV files to SAP HANA
HANA Academy - Importing Data using CTL Method - YouTube
Hope it helps.
Regards
Kumar -
How to read/write .CSV file into CLOB column in a table of Oracle 10g
I have a requirement which is nothing but a table has two column
create table emp_data (empid number, report clob)
Here REPORT column is CLOB data type which used to load the data from the .csv file.
The requirement here is
1) How to load data from .CSV file into CLOB column along with empid using DBMS_lob utility
2) How to read report columns which should return all the columns present in the .CSV file (dynamically because every csv file may have different number of columns) along with the primariy key empid).
eg: empid report_field1 report_field2
1 x y
Any help would be appreciated.If I understand you right, you want each row in your table to contain an emp_id and the complete text of a multi-record .csv file.
It's not clear how you relate emp_id to the appropriate file to be read. Is the emp_id stored in the csv file?
To read the file, you can use functions from [UTL_FILE|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm#BABGGEDF] (as long as the file is in a directory accessible to the Oracle server):
declare
lt_report_clob CLOB;
l_max_line_length integer := 1024; -- set as high as the longest line in your file
l_infile UTL_FILE.file_type;
l_buffer varchar2(1024);
l_emp_id report_table.emp_id%type := 123; -- not clear where emp_id comes from
l_filename varchar2(200) := 'my_file_name.csv'; -- get this from somewhere
begin
-- open the file; we assume an Oracle directory has already been created
l_infile := utl_file.fopen('CSV_DIRECTORY', l_filename, 'r', l_max_line_length);
-- initialise the empty clob
dbms_lob.createtemporary(lt_report_clob, TRUE, DBMS_LOB.session);
loop
begin
utl_file.get_line(l_infile, l_buffer);
dbms_lob.append(lt_report_clob, l_buffer);
exception
when no_data_found then
exit;
end;
end loop;
insert into report_table (emp_id, report)
values (l_emp_id, lt_report_clob);
-- free the temporary lob
dbms_lob.freetemporary(lt_report_clob);
-- close the file
UTL_FILE.fclose(l_infile);
end;This simple line-by-line approach is easy to understand, and gives you an opportunity (if you want) to take each line in the file and transform it (for example, you could transform it into a nested table, or into XML). However it can be rather slow if there are many records in the csv file - the lob_append operation is not particularly efficient. I was able to improve the efficiency by caching the lines in a VARCHAR2 up to a maximum cache size, and only then appending to the LOB - see [three posts on my blog|http://preferisco.blogspot.com/search/label/lob].
There is at least one other possibility:
- you could use [DBMS_LOB.loadclobfromfile|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#i998978]. I've not tried this before myself, but I think the procedure is described [here in the 9i docs|http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl12bfl.htm#879711]. This is likely to be faster than UTL_FILE (because it is all happening in the underlying DBMS_LOB package, possibly in a native way).
That's all for now. I haven't yet answered your question on how to report data back out of the CLOB. I would like to know how you associate employees with files; what happens if there is > 1 file per employee, etc.
HTH
Regards Nigel
Edited by: nthomas on Mar 2, 2009 11:22 AM - don't forget to fclose the file... -
Joining / Merging csv files into one
Hi,
is there a way to join or merger a bunch of csv files into
one file?
regards
MartinThx Dan, for the reply, well I have the reference manual
right in front of me, and I thought about using cffile, but my
experience has been that cffile is very slow so merging say like 20
- 30 files into one with 600 records in each would be somewhat time
consuming or if even possible? does anyone know?
regards
Martin -
Import and view CSV Files into OTM
Hi All,
Can you please help me in importing CSV files into Oracle Test Manager and to view the imported files in OTM.Hi,
I have just googled and find the link :)
http://oracleats.com/blog/?p=785 -
Script to import contacts from CSV file into Address Book
Hi,
I am wondering if it would be possible to import contacts from a CSV file into a group in Address Book using applescript, and if so, if anyone is aware of a script that does this or something similar.
I have a CSV file with three columns 'First Name', 'Last Name' and 'Email Address'. I would like these to correspond with 'First', 'Last' and (Work) 'Email' in Address Book.
Ideally the script would also check to see if entries already exist for the people being imported, but this is less crucial.
Thanks in advance for any assistance,
NickHi,
Test this on a very small csv file (four or five contacts) to see if it works for you. It will not de-duplicate. You don't give the name of the group, so you'll need to replace Name of group in the second line with your group name, enclosed in double quotes.
--begin script
set the_people to read (choose file with prompt "Choose your CSV file")
set the_group to "Name of group"
set old_tids to AppleScript's text item delimiters
set AppleScript's text item delimiters to ","
set par_count to (count paragraphs in the_people)
repeat with x from 1 to par_count
set next_par to paragraph x of the_people
set first_name to text item 1 of next_par
set last_name to text item 2 of next_par
set e_mail to text item 3 of next_par
tell application "Address Book"
set nu_person to make new person with properties {first name:first_name, last name:last_name}
make new email at end of emails of nu_person with properties {label:"Work", value:e_mail}
add nu_person to group the_group
save
end tell
end repeat
set AppleScript's text item delimiters to old_tids
--end script
Watch out for bad line breaks in the lines beginning "set nu_person..." and "make new email..." -
How can I import an existing csv. file into Outlook on a Mac with OS10.7
Tried to import a csv. file on my Mac (OS 10.7.2) into Microsoft Outlook 2011 (for Mac) on the same computer, ended up with a useless Excel page - it opened the csv file in Excel with only a few contacts and uselessly formatted, at that!. Also, tried to save the csv file as a text file, then importing it into Word 2011 and Excel, with the same results. Anyone able to help? Would like to have the contained address/contact info look concise and neat, without duplicates or garbled/missing information.
[email protected]DPS can use H.264 files, but I have no idea about the details since I've never done any of it myself. Ask in the ID/ DPS forums.
Mylenium -
How to import data from CSV file into a table by using oracle forms
Hi,
I have a CSV file and i want to insert in oracle database in a table by using a button in oracle forms.
the user can select CSV file by using open dialog .
can any one help me to find method to make import and select file from the client machine ?
thx.1. create table blob
CREATE TABLE IB_LOVE
DOC BLOB,
CONTRACT_NO VARCHAR2(20 BYTE) NOT NULL
)2. use the code below to insert:
INSERT INTO ordmgmt.ib_love
(contract_no, doc
VALUES (:control.contract_no_input, NULL
lb$result :=
webutil_file_transfer.client_to_db (:b2.file_name, v_file_blob_name, v_col_blob_name,
'CONTRACT_NO = ' || :control.contract_no_input);
:SYSTEM.message_level := 25;
COMMIT;
:SYSTEM.message_level := 0;3. use the code below to download
if :control.CONTRACT_NO_INPUT is not null then
vboolean := webutil_file_transfer.DB_To_Client_With_Progress(
vfilename, --filename
'IB_LOVE', ---table of Blob item
'DOC', --Blob column name
'CONTRACT_NO = ' || :CONTROL.CONTRACT_NO_INPUT, ---where clause to retrieve the record
'Downloading from Database', --Progress Bar title
'Wait to Complete'); --Progress bar subtitle client_host('cmd /c start '||vfilename);
client_host('cmd /c start '||vfilename);
else
errmsg('Please choose contract no');
end if;4. use the code below to open file dialog
x:= WEBUTIL_FILE.FILE_OPEN_DIALOG ( 'c:\', '*.gif', '|*.gif|*.gif|', 'My Open Window' ) ;
:b2.FILE_NAME:=X; -
Trying to import from different csv files into multiple JTables
This might seem like something that isn't commonly done, but I'll see if anyone has done this before anyways.
I currently have a JTable (tab #1) and it successfully reads in the data from a CSV file to populate the cells. Now, I am looking into making 3 more JTables. I can tab between the four different tables, but I can't seem to figure out how to get the data to go to the correct JTable. Tab #1 = table, Tab #2 = table2, Tab #3 = table3, Tab #4 = table4.
Thanks.
try
FileInputStream fileInput = new FileInputStream ("upcoming.csv");
BufferedReader InputCSV = new BufferedReader (new InputStreamReader (fileInput));
line = InputCSV.readLine(); //start reading into the records.
//Create data for the table.
//the row variable = starting row
int row = 0;
while(line != null)
tmp = line.split(",");
for (int col = 0; col < columnNames.length; ++col)
data[row][col] = tmp[col]; //store cells' data to the 2-dimensional array.
row++;
line = InputCSV.readLine();
}//end of WHILE-statement.
} //END of TRY-statement.
catch(Exception e)
System.out.println(e);
}I have been successful in my quest to get 4 different datasets into 4 different JTables. The previous posters suggestion to use the Table model led me to this page:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/table/TableModel.html
TableModel myData = new MyTableModel();
JTable table = new JTable(myData);I had some very similar code in my program. I use the DefaultTableModel and the SortFilterModel before having 4 different JTables.
DefaultTableModel model = new DefaultTableModel(data, columnNames);
DefaultTableModel model2 = new DefaultTableModel(data2, columnNames);
DefaultTableModel model3 = new DefaultTableModel(data3, columnNames);
DefaultTableModel model4 = new DefaultTableModel(data4, columnNames);I use the code in the first post 4 times, and only change the filename and the data#.
I also have some code that counts the number of lines that will be needed.
Thanks. -
Import very large csv files into SAP
Hi
We're not using PI, but have middleware called Trading Networks. Our design is fixed (not my decision) to not upload files into Application Server and import it from there. Our design dictates that we must write RFCs and Trading Networks will call the RFC per interface with very large file sent as table of strings. This takes 14 minutes to import into SAP plain Z-table from where we'll integrate. As a test we uploaded the file to Application Server and integrated into Z-table from there. This took 4 minutes. However our architect is not impressed that we'll stretch available Application Server to it's limits.
I want to propose that the large file be split in e.g. 4 parts at Trading Networks level and call 4 threads of the RFC which could reduce integration time to e.g. 3 minutes 30 seconds. Is there someone that has suggestions in this regard especially about a proposed, working, elegant solution for integrating large files with our current environment? This will form the foundation of our project.
Thank you and best regards,
AdrianZip compression can be tried. The RFC will receive zip stream which will be decompressed using CL_ABAP_ZIP.
-
How to import 12 different PPro files into one Encore file to make DVD
I'm trying to create a DVD with 12 different lessons on it. I have created 12 Premiere Pro CS4 files (each is a slideshow lessons with narration) and I want to bring them all into one Encore file. I can send one file to Encore via Dynamic Link - but when I open another PPro file and try to send it to the same Encore folder - it erases the file I put in there previously. Maybe I'm going about this all wrong - I really don't know. Please Help.
Hi Stan,
Thanks for the reply.
Since I wanted to get the DVD finished asap - I jumped right into PPro CS4 without going through a learning process first.
When I said "file" I meant one of the 12 or 13 different PPro projects that I saved to my Desktop...each lesson is different - so I made and saved each lesson separately and placed each of them in a different folder. Each lesson only has one "sequence" (and I'm not sure what "sequence" means yet).
These are basically PowerPoint lessons with narration - each lesson containing anywhere from 25-75 pictures or text slides.
When I opened up one of the lessons in PPro and sent it via DL to Encore - that was fine. It created an Encore file. When I opened up the next PPro file and tried to DL to that same Encore file - it appeared to delete or do away with the first file I had sent there. I could DL each of the 12 or 13 files - but only to its own Encore file. I couldn't figure out how to get them all into the same Encore file. But thanks to all the help on this forum - there are now 13 little videos that I can import into the same Encore file. And that's amazing.
Thanks for the encouraging words that this project might all fit on the same DVD (I was worred because the files add up to 107 minutes - and I the DVD holds 120 minutes (I think). I was assuming that after I created a menu and added a picture for the background in the title page, etc., that it would all add up to too much information for one DVD).
I'll let you know how the DVD turns out.
Thank you very much.
ph -
Merge Multiple CSV Files Into One and save it into new file
Below code run in specific directory. However I'm looking a code which will select the folder & save it into new sheet.
Can you help me with this? I've searched for a solution for a long time but could not find anything which worked.
The following is the start of the macro code
Sub OpenCSV()
Dim i As Integer
' change this next line to reflect the actual directory
Const strDir = "C:\Documents and Settings\shekar\"
Dim ThisWB As Workbook
Dim wb As Workbook
Dim ws As Worksheet
Dim strWS As String
Set ThisWB = ActiveWorkbook
Set fs = Application.FileSearch
With fs
.LookIn = strDir
.Filename = "*.csv"
If .Execute(SortBy:=msoSortByFileName, _
SortOrder:=msoSortOrderAscending) > 0 Then
For i = 1 To .FoundFiles.Count
Set wb = Workbooks.Open(.FoundFiles(i))
strWS = wb.Sheets(1).Name
wb.Sheets(1).UsedRange.Copy (ThisWB.Worksheets(strWS).Range("A1"))
wb.Close False
Next i
Else
MsgBox "There were no files found."
End If
End With
End SubThe below will do the.But be careful if any of csv file name is more than 31 then Excel will not allow it to name the sheet with filename.
Sub OpenCSV()
Dim i As Integer
' change this next line to reflect the actual directory
Const strDir = "C:\Documents and Settings\shekar\"
Dim ThisWB As Workbook
Dim wb As Workbook
Dim ws As Worksheet
Dim strWS As String
Dim sFileName As String
Set ThisWB = ActiveWorkbook
With Application.FileDialog(msoFileDialogOpen)
.InitialFileName = strDir
.Filters.Clear
.Filters.Add "CSV Files", "*.csv"
If .Show Then
For i = 1 To .SelectedItems.Count
Set wb = Workbooks.Open(.SelectedItems(i))
sFileName = .SelectedItems(i)
Set ws = ThisWB.Worksheets.Add(before:=ThisWB.Worksheets(1))
ws.Name = ActiveSheet.Name
wb.Sheets(1).UsedRange.Copy ws.Range("A1")
wb.Close False
Next i
Else
MsgBox "There were no files found."
End If
End With
End Sub
Please do not forget to click “Vote as Helpful” if any post helps you and
Mark as Answer if it solves the issue. -
How to import old iPhone SMS.CSV file into new iPhone?
Hey everyone,
So I've spent a couple days on this as I just upgraded to the iPhone5S from my 4S. Long story short, my backup restore didn't work after multiple tries (gave me the file is corrupt or not compatible with the iPhone error).
I tried:
-reinstalling itunes
-updating itunes
-combining the 5S backup with the old 4S backup
-tinyumbrella
and a few of other things as I've forgot now.
The most important things I needed was the contact list and SMS history. I've got the contact list from extracting is successfully from the iTunes backup folder and using iCloud, but cannot figure out how to import the SMS.CSV file into my iPhone5S.
Any suggestions on how I can get my SMS messages from my iPhone4s into my 5S?
If anyone has any other suggestions on getting my Backup Restore to work that would be awesome too!
Thanks!A word on SMS text messages. It is pracitcally impossible to import an SMS text-messages file to a new iPhone and have the Messages app on the new device read the messages.
You can transfer, however contacts and other individual data (such as calendars and notes) from one iphone to the next. I had my old Nokia which whose contacts I exported to a CSV file. I then imported the file to my iphone which converted the file into multiple contacts in the Contacts app on the iphone. You can use a contact management app such as this one in order to import the contact file to the new iPhone. -
Hi All,
Im relatively new to Ai and Indesign, and have been doing Uni work over Christmas, and have a rather urgent question thats stressing me out.
I originally had many art boards in my ai file, but due to the number, I split these into single files to help my computer run better.
Now I want to organise them into one document to save. From searching online Indesign can import these and save as one file, yet automatically update if the original ai file is updated. I would like to do this but just don't know how to do this correctly?
Any help would be greatly appreciated.
Im using CC Ai and indesign.
Thanks in advance
SamYes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
Thanks for the quick reply -
How to import multiple XML files into one inDesign document without copy/paste ?
I use InDesign CS6, and I have several XML files with the same structure. Only the data are different.
I created an Indesign layout with some tagged placeholder frames on merge mode, for automated layout.
Today for each XML file I have to create a new InDesign document to import the XML. Everything works fine. Then in order to have all Indesign layouts one after the other into a single Indesign layout, I have to use the copy/paste function.
I mean for example, copy the contents of all documents to the first one. Or add pages of other documents to the first one, then delete spaces between each page.
So my question is the following:
How to repeat this process without copy/paste function, knowing that the
number of XML files could be unknown.
Thank you very much for your answer.Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
Thanks for the quick reply
Maybe you are looking for
-
Crystal Report 2008 DataSource binding
Hi, I have VS2008 webservice which is used to generate report. I am using CR2008 version of crystal report. While creating the report template I specified the development database and now going forward I am trying to set the database source through c
-
BrowserLab won't work with local files in DW CS5
Any issue report you make about BrowserLab on these forums should minimally contain the following information. If it doesn't, the first response you get from us will likely just ask for the missing info anyway Subject A descriptive summary of the iss
-
Regarding Logical database and select statement..
Hi Experts. i would like to know the diff b/w logical data base & select statement while using report. wt is the use of logical databases in R/3. is there any advantage used in the reports. Thanks & Regards.. Spandana.
-
Explorer iPad App does not show map in background
Hi, I'm trying to use the Augmented view feature that comes with the SAP BO iPad app. There's no issue in identifying the locations, it just doesn't show the map in the background. I'm supposed to see something like this below; Please see the attache
-
HT204053 icloud won't sync between computers
I bought a film using my apple ID on my laptop, and it won't download on my other machines (mac Mini at home, iPhone, iPad) although I connect with the same Apple ID. Can you help?