Converting A DBA to an Excel Spreadsheet

Hi
Know how to interogate my database and retrieve my data. But my problem is arranging the data on a Excel Spreedsheet. So that all the similer data falls in the correct columns and rows. At this moment it soes sort the data according to the correct rows, but all the columns is placed in one column.
Could somebody please help me it is quite urgent.I also have to let you know that I must use jre1.1.7 and the database uses a JdbcOdbcDriver.
Thanx a lot.
Will check tomorrow for answer.
Ciao

Hi
Thank you for showing interest in answering. Sorry I did not come back but I found a solution and did not get an oppertunity to check for an answer to my question. I know also I horrible in explaining code. But if you are interested in knowing what happened then I'll show you what I did:
saData is a String array of the data from the database that I'v already read. What I quite stupidly forgot to do was insert a semi colon between the columns. So that when you opened the file in Excell using Office 2000. Then the Excell function that places data could differentiate between the column.
And by adding a "end of line" to each String that was written to the file I differentiated between the rows
RandomAccessFile randomFile = null;
long fLength = 0;
try
     //Onthou om dieverandering aan te bring vir die arrays
     File f = new File(sPath[0] + sFile[0]);
     randomFile = new RandomAccessFile(f, "rw");
     if (f.exists())
          fLength = f.length();
          randomFile.seek(fLength);
     for (int i = 0; i < saData.length; i++)
          String sBatch = "";
          for (int d = 0; d < saData.length; d++)
               sBatch += saData[i][d];
          sBatch += "\n";
          randomFile.writeBytes(sBatch);
          sBatch = null;
     randomFile.close();
catch (IOException io)
I would again like to say thank you for your interest.

Similar Messages

  • Adobe XI Pro convert PDF to an editable EXCEL spreadsheet.  It converted to an unusable table in excel?

    I have viewed prior posts about converting a PDF to an Editable EXCEL file - I followed those
    instructions but when it converted put it in an unusable table in EXCEL.  Help Please!
    I contacted Adobe - this is a scanned document & they say they don't have a work around.

    Hey holidayw83568561,
    Could you please run OCR first before converting the PDF to Excel format.
    Also, let me know how does your Excel table appear and what exactly do you mean by saying 'unusable' table.
    If possible, please share the screenshot of the same so that I can analyze the issue.
    What exact dot version of Acrobat XI are you using?
    Hope to hear from you.
    Regards,
    Anubha

  • When I convert my excel spreadsheet to pdf objects like graphs move down in the page!

    Hi everyone I am very new to this! Please help!
    I was working with someone who has been migrated to Office 2007.  If we create an Excel Spreadsheet and convert it to Pdf all is well. When we do the same with his old files the graphs move to the bottom of the pdf page and any text boxes will change font and the graphs will over run the text. We saved the files as .Xlsm and tried again but to no avail.
    Can some one please help?

    You posted your question to the forum comments forum. This forum is for questions about these forums, not for questions about other Adobe products.
    I am not sure which product you are having a problem with (Acrobat to convert to PDF? Reader to read the PDF? Or the builtin PDF capability of MS Office?), but if it is an Adobe product you can find the appropriate forum from the list of all forums.

  • How do i open and modify my pdf converted to excell spreadsheet

    How do I open and modify my PDF converted to Excell spreadsheet?

    After the conversion from PDF to .xlsx, you should be able to open the file in Excel and edit it like any other Excel file.

  • Converting a Adobe Reader 9 PDF file to an Excel Spreadsheet

    I want to convert an Adobe Reader 9 PDF file to an Excel spreadsheet. How do I do this?

    Use Adobe Acrobat.
    Or use ExportPDF.
    Or use any of the free tools that can be found on the Internet.

  • Automatically open excel spreadsheets with numbers

    can anyone tell me is it possible to set numbers as the default application to ALWAYS open excel spreadsheets? each time i try to open an excel spreadsheet the computer starts up the trial office software. I then have to cancel and choose "open with" and then set "always open with" numbers.
    Having just converted from Windows, I was able to set certain programs to always handle specific file formats, e.g. .jpg, mpeg, avi so I did not have to choose the program every single time i wanted to open a file.
    thx., same goes for pages ,in lieu of word?

    Select an Excel file and option-select (Right Mouse Button) and select Get "Info". See attachment below to set "Open With."
    Regards,

  • How do I generate a data merge in InDesign from an excel spreadsheet which includes a barcode

    Can you please advise if the following process is possible within InDesign CS 5.5? (Mac OS 10.8.2).
    We need to create a data merge that includes a barcode. The data merge is for several thousand records.
    We have a customer-supplied Excel spreadsheet that contains seven fields, one of which is a number that ultimately needs to print as a barcode when we make the data merge in InDesign.
    As you would expect, the conventional six fields data merge perfectly - but we can't find a way to make the barcode print correctly within the data merge.
    We have investigated several possible solutions without success.
    Some solutions suggest a plug-in for Excel to convert the number into a barcode whilst still in the spreadsheet - but this doesn't come across correctly when we import the CSV file into the InDesign data merge.
    We have investigated certain third party software applications but none provide the full solution we require. Some, for example, appear to create the barcode within the Excel spreadsheet but don't produce the barcode correctly when we data merge in InDesign; and some will allow us to create a one-off barcode within InDesign but have no automated way of retrieving the thousands of Excel numbers and turning them into barcodes.
    We have also come across possible 'font' solutions but have had no success with these either.
    For a previous job we needed to produce we outsourced to a specialist mailing company, who assured us they produced the whole job (very quickly) within InDesign. They, understandably, won't tell us how they did it. But, given the speed with which they produced the job for us, we imagine - with the correct software - the whole process is easy to do.
    Can you please advise?

    HI MIKE
    Thanks again for your reply and your help with this.
    I've downloaded the barcode font from the link you supplied.
    I've tried three tests - and seem much closer to getting what we need. But I've come up against a couple of issues.
    TEST 1 - almost just to see if the downloaded font worked, I simply data merged our source csv file and applied the downloaded barcode font to the serial number in ID. Probably unsurprisingly, this produced a perfectly printed barcode - that wouldn't scan.
    TEST 2 - I manually added asterisks before and after the serial number in the first couple of fields and then tried the same process as TEST 1. It produced a perfectly printed barcode which this time DID scan correctly - but obviously the barcode had asterisks on it which I don't want. I just want the serial number. And with thousands of serial numbers we need the addition of the asterisks to happen automatically (which is where your text editor process seems the perfect solution, if we could get that to work).
    TEST 3 - Noting your comments about using parenthesis around the serial number, I followed your example of (123456). But Excel won't let me type a parenthesis. It lets me type the parenthesis but then instantly substitutes it with a - (hyphen) before the number in the actual serial number cell and no character at all after the number.
    If you have any suggestions or solutions for any of the above they'd be gratefully received! Thanks again for all your help with this.
    Kind regards
    Rob

  • Linking to specific cells in an Excel spreadsheet no longer working

    I use RoboHelp HTML version 7 and just upgraded to MS Office 2007.  I have project that contains hyperlinks to specific cells in an Excel spreadsheet using the following syntax: <a HREF="../file_name.xls#cell_name">  (a tip I found on Peter Grainge's website).  This worked fine with Office 2003.
    With Office 2007, however, the hyperlink opens the Excel spreadsheet to the first cell on the first tab regardless of the the #cell_name suffix.  I've tried the following with no success:
    delete the .xls baggage file, convert the .xls to the newer .xlsx format, add the .xlsx as a baggage file, rename the hyperlinks to .xlsx (in HTML view), generate new output
    same as above but re-creating the hyperlinks (rather than just renaming)
    When I preview the topic, the hyperlink is active but does not open the spreadsheet (topic cannot be found).  In the generated output, the hyperlink is not even a hyperlink (just plain old text).
    Another unusual behavior (I have no idea if this is related) -- before I tried to fix this, when the original spreadsheet (.xls) opened in "compatibility mode," it was not maximized in Excel's window.  When I used to open this in Office 2003, it was always maximized.
    Does anyone know if the #cell_name suffix works in Office 2007?  Is there another way to link to a specific cell?

    Hi all
    As I understand it, the "X" on the 2007 stuff signifies a format similar to a zipped format. If what I understand is true, it would seem to make sense that this would also somewhat preclude linking in the manner you are speaking of. It would be akin to opening a specific document after first opening the zip archive.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Create a PDF Form that populates an Excel spreadsheet?

    Hello, I have basic experience with InDesign and would like to do something a bit daunting (don't know if it's even possible).
    I'm coordinating an awards competition where people will fill out a form and I'd like that data to populate an Excel spreadsheet. I also make these forms publicly available so I would need a way to 'lock' the form from being edited.
    I want to layout my form in InDesign and give it a few data fields (e.g. Name, contact information, etc...) and radio buttons (e.g. which awards category would you like to compete in). There are some data fields (e.g. provide background information on your submission) that I do not need populating my Excel spreadsheet.
    The Excel spreadsheet will simply be used for administrative purposes (e.g. keep track of how many people are competing in a specific category).
    Is this possible? Any online tutorials that people can direct me to? Thanks!

    Yoou can design the form in ID, then export to PDF and use Acrobat to convert to a form and "publish." You have several options on how you get the data back from the published form, and one is designed to allow you to populate a spreadsheet, I believe, but that's really an Acrobat topic. How large scale will the distribution be? A standard Acrobat license permits only 500 returns.

  • Working with Excel spreadsheet embedded in access table

    Hello!
    I have Access DB which contain Excel spreadsheet objects embedded in table. To work with DB I use ADO-Tool based on ActiveX. Data passed to my program from GetRows method as 2D array of variants. As I understand I should convert variant to object refnum and then use this refnum with property and invoke nodes to get data from spreadsheet. How to select data type for VariantToData to work with Excel spreadseet?

    Hi,
    Isn't it the same that using Index Array function? I believe that problem is in conversion of variant to refnum. For example, if I change refnum data type to string in Variant To Data, no error appears, and I've got some text data (see the attachment).
    Attachments:
    Temp.zip ‏25 KB

  • How can I generate a data merge that includes a barcode from excel spreadsheet to InDesign?

    Can you please advise if the following process is possible within InDesign CS 5.5? (Mac OS 10.8.2).
    We need to create a data merge that includes a barcode. The data merge is for several thousand records.
    We have a customer-supplied Excel spreadsheet that contains seven fields, one of which is a number that ultimately needs to print as a barcode when we make the data merge in InDesign.
    As you would expect, the conventional six fields data merge perfectly - but we can't find a way to make the barcode print correctly within the data merge.
    We have investigated several possible solutions without success.
    Some solutions suggest a plug-in for Excel to convert the number into a barcode whilst still in the spreadsheet - but this doesn't come across correctly when we import the CSV file into the InDesign data merge.
    We have investigated certain third party software applications but none provide the full solution we require. Some, for example, appear to create the barcode within the Excel spreadsheet but don't produce the barcode correctly when we data merge in InDesign; and some will allow us to create a one-off barcode within InDesign but have no automated way of retrieving the thousands of Excel numbers and turning them into barcodes.
    We have also come across possible 'font' solutions but have had no success with these either.
    For a previous job we needed to produce we outsourced to a specialist mailing company, who assured us they produced the whole job (very quickly) within InDesign. They, understandably, won't tell us how they did it. But, given the speed with which they produced the job for us, we imagine - with the correct software - the whole process is easy to do.
    Can you please advise?

    See second posting atHow do I generate a data merge in InDesign from an excel spreadsheet which includes a barcode

  • PDF conversion to Excel spreadsheet not working properly

    I purchased the Adobe ExportPDF yesterday.  I have tried to convert PDF into an Excel spreadsheet and it does not recognize any of the formatting and it just converts into one big mess in the spreadsheet. 

    Any one?

  • Converting A PDF to an Excel File

    I recently purchased a list that has something along the lines of 1600 pages of data.  When I purchased it, I was told it would be in an Excel spreadsheet I could manipulate and work with.  Instead, it came in a PDF.
    Is there anyway I can convert that PDF to an Excel file?  I have been looking into third party software, does anyone have any recommendations?
    Thanks.

    You can try saving the entire file as an Excel spreadsheet (in Acrobat X it's under File - Save As - Spreadsheet), or you can select parts of the text (using the Text Selection Tool), and then right-clicking it and exporting it or copying it as a table, if that option appears.

  • Generate Excel spreadsheet

    How can I generate a tabular report in a excel spreadsheet. Can we make the comma separated output file automatically convert into an excel spreadsheet while excuting a report
    I am using Reports 6i
    Thank you
    Philip Juch

    Yes you can use desformat=delimited & delimiter =, as a runtime parameter values

  • Can this product convert a sideways PDF to Excel?

    I have a PDF that is obviously an excel spreadsheet scanned in sideways and when I try to run it through the export program, I get a file of junk.
    Any ideas>?

    Good day,
    Sorry to hear you're having trouble converting your document.  Do you think you could share your document with us via the File Conversion Issue form?  Without seeing the file, it's tough to say why it's not converting properly.  Please include a reference to this forum thread in your description.
    -David

Maybe you are looking for

  • Resource booking with Windows 8.1 and office 2010

    I've two SP3 Laptops running 8.1 on out network.     I've Office 2010 installed on these and they are mostly working fine; However they cannot book resources  - this is a common win7 fault we would fix here - http://support.microsoft.com/kb/982774/en

  • 0FI_GL_4 - How to prevent open items from being archived (SARA)

    Hello, We would like to archive data from our 0FI_GL_4 InfoCube using the SARA transaction. We can only specify a date as the criteria for archiving (e.g. the posting date). However, we may still have open items (that are candidate for archiving base

  • How do i print a contact sheet of pictures?

    how do i print a contact sheet of pictures?

  • Time Capsule FTP access

    I just bought and setup a 1TB Time Capsule that is working perfectly in my house. I am trying to find out how I can access the drive on the TC from a windows machine on the internet. I've setup file sharing and can see the drive from my MBPro using c

  • Using Mackie Control with Logic Pro 7 and Yamaha O1X

    I currently own a Yamaha O1x which is a mixer/control surface/audio interface that I use with Logic Pro 7. I am planning on selling the O1X and replacing it with the Mackie Control Universal as my DAW controller and using the Apogee Ensemble as my au