The Official Cohort Default Rates for Schools site has a link on the left to “Download Entire List.” That downloads an Access database file (.accdb). I'd like to have it in CSV (.csv) format.
This answer provides a Windows solution to import Access to MySQL, but ideally, I'd like to have a Unix command-line program, e.g., accdb2csv input.accdb output.csv. Is there anything like that? If not, how do I code that?
Here are some other links I've found:
http://jackcess.sourceforge.net/
https://github.com/akaihola/mdb2django
https://github.com/karlbennett/export-accessdb/blob/5b492778439c85f15d5c859a27094514f7aba8ee/src/main/java/org/youthnet/export/Smasher.java
https://github.com/Tomvb62/DBConvert/blob/dc67a3d835a9708320d29b8040ddc5cde7e7fa39/src/dbengine/export/MSAccess.java
I just released an access2csv program based on Jackess. Code is at https://github.com/AccelerationNet/access2csv, a binary is available at https://github.com/AccelerationNet/access2csv/releases.
so right click rename the file from Aaron.accdb to Aaron.zip and then right click unzip it. Office 2007 / 2010 formats are effectively zipped XML files.
This will give you a bunch of XML that you can easily parse using Excel, or XSL, etc.
Related
My customers have roughly 600gb (all together) worth of Onenote 2007 notebooks.
Onenote 2016 doesn't allow editting of onenote2007 format notebooks. It requires conversion.
MS doesn't provide a batch conversion utility.
MS does provide a notebook-by-notebook conversion via their UI which is clunky.
Does anyone know if I could use their Publish API to convert one notebook at a time?
https://msdn.microsoft.com/en-us/library/office/jj680120.aspx#ON14DevRef_Application_Functional (see Publish Method)
I gave it a go.
You can!
One can use the Publish API method from the Application2 onenote API COM object by opening a 2007 notebook and specifying the export format as PublishFormat.pfOneNote (to export as 2010+ format).
There are some limitations:
You can only convert a section. So your code will have to open the 2007 notebooks, find the sections, and convert one at a time.
Sections that have no pages will result in an error code being thrown. So do check that there are pages in the section before attempting conversion.
So, given the limitations, my conversion app will have to:
Loop through the notebooks in a big folder.
Open each notebook, iterate through each section, and convert each non-empty section into a new notebook folder.
Open the new notebook folder and create into it any missing sections.
Order the sections in the new notebook.
Save and close both notebooks.
Repeat.
Here's a partial implementation:
https://github.com/PetePeter/onenoteconverter
Hello and thanks in advance for any help you can provide. I am a real newbie at all this.
I am trying to export my autocorrected words from Microsoft Word so I can use them in the chrome autocorrect extension 'spelling bee .' The chrome extension allows you to upload files of misspelled words and their autocorrection in csv format.
The problem I face is that my autocorrected list from microsoft word is an acl file. I have spent quite a while trying to figure out how to convert my acl file to a csv file with no success. I thought that I could just manually format the file myself When I open the acl file as a text file, but the formatting and spacing are so off, it would take forever to do it manually.
Is there a straight forward way to open the acl file in simple delimited format? There are many posts online about how to transfer acl files from one system to another, but I could not figure out how to simply convert the acl file into a csv or other appropriately delimited file. If there is a thread out there that addresses this that I may have overlooked please let me know. Thanks again for your consideration.
example of what my acl file looks like when I open it in text editor:
must of had
must have hadmyseflmyselfmyumynaivenaÔvenecassarilynecessarily necassary necessaryneccessarilynecessarily
neccessary necessary
necesarilynecessarilynecesary necessary
negotiaingnegotiatingnkowknownothignnothingnvernevernwenewnwonowobediantobedientocasionoccasion occassionoccasionoccuredoccurred occurence
occurrence
At this link there is a 18kb utitily which will backup your autocorrect to a word document, you can then copy that table into excel and make it into a .csv Autocorrect utility . It's made for Word 97 and 2000, but I used it no problems with Word 2007 and 2010
SSRS Question: What will happen if a client machine does not have MS Office installed on it and a SSRS report's "Export to EXCEL/WORD" functionality produces on excel report? One possibility is the file will get saved on client machine but one can not open it in excel format. What is the solution to overcome this issue? Can we do something from server side?
You are correct - the report will export to Excel or Word, and the client would then be unable to open the file. If you want to open an Excel file, you will need something that can read the file format. Open source office solutions could work, as could Microsoft's Office Viewer applications, or even a converter tool that converts the file to another format.
Alternatively, could you just export to a format that IS accessible on the client machine? CSV, tab delimited, HTML, etc?
Presently I am using as3xls.swc to export datagrid to excel which is giving me only to save as .xls format which is opening in microsoft excel 2010 which is OK for me, but it is only opening in protected mode where I am unable to do any edits or save it. So, can anybody know any other way to save as .xlsx format in the client side itself?
Protected mode is a feature of Excel within the Microsoft operating system. They're trying to keep you from inadvertently downloading viruses. You can defeat these measures by modifying the Excel trust store. It has nothing to do with your code, and you don't need to use older versions of Excel.
I find it easiest to add a trusted location (like your desktop).
http://office.microsoft.com/en-us/excel-help/what-is-protected-view-HA010355931.aspx
You can export to Excel2007 - its just an xml file format. WE have some details on our blog: http://blog.flexicious.com/post/Flexicious-30-Release-Grid-Edition.aspx. Keep in mind however, it generates an XML file, which when you double click on, will correctly open up excel (Assuming you have excel 2007 or the reader installed).
I have used the "extract" command, but it never was able to find as much information as FOCA found on these excel spreadsheets I am dealing with.
For example, I am using the FOCA application to harvest and download files from the web. Afterwards, it is extracting metadata from all of the files.
With regards to excel files, it appears that these files are containing more metadata than the average pdf file. That being said, FOCA is able to detect printer names, email addresses, and a few other things that are stored within this spreadsheet file. However, I cannot find any way to get this same information in Linux using the "extract" command.
Anyone know a way to extract files within Linux and grab ALL of its metadata? Seems like the extract command may be limited from what I understand.
Thanks,
Excel files store a lot of meta data within the file, so you would have to parse the file itself to get at it. Since you're on Linux and can't use the Excel interop, you could try to use an Excel library like ExcelWriter or something similar. ExcelWriter is written for .Net, so you'd have to use mono.