User Profile

Collapse

Profile Sidebar

Collapse
sarah2855
sarah2855
Last Activity: Dec 2 '11, 02:48 PM
Joined: May 17 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to export Pivot table view from access to Excel

    Hello,
    I have a created a query in Access database and I can view the pivot form of that query by clicking "Pivot Table view" tab at the bottom right of the page.
    My question is how to export this view to Excel spreadsheet. What command in VB should I use to do it. Is it at doable?

    Thank in advance for helping,
    Sarah
    See more | Go to post

  • sarah2855
    started a topic How to create pivot table in access 2007 reports

    How to create pivot table in access 2007 reports

    Hello,

    I would like to insert a pivot table in an access report.I was able to create a pivot table chart in Query -> pivot table view but I don't know how to incorporate that in reports. Is this doable at all?

    Thanks in advance,
    Sarah
    See more | Go to post

  • Thanks Neopa,

    Yes I'm using DoCmd.TransferS preadsheet() .Sorry I wasn't so clear in my question. My problem was when using TransferSpreads heet() after I open up the excel file I get error message because of the file type. The code I was using is:
    Code:
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "TABLE NAME", "FILE PATH", True, "WorkSheet Name"
    After I did a little bit of search...
    See more | Go to post

    Leave a comment:


  • sarah2855
    started a topic Vb code for Exporting Access table to Excel

    Vb code for Exporting Access table to Excel

    Hello All,
    I'm looking for the vb code that export an access table to specific worksheet in Excel. I tried to search see if this question was answered before here, but didn't find anything that really relates to this question.

    I will appreciate your help,

    thanks in advance.
    See more | Go to post

  • sarah2855
    replied to Bound column in List box
    You are brilliant .Thanks a lot. solved the problem
    See more | Go to post

    Leave a comment:


  • sarah2855
    started a topic Bound column in List box

    Bound column in List box

    I have a listbox object and I have it bound to column 7 which is orderID. but I don't like order Id to be shown in the listbox. I only would like to see the name and property of that order. Can I make the bound column somehow invisible in listbox?

    Thanks in advance,
    See more | Go to post

  • You're awesome, I did imported all the objects, and it's working perfectly fine now.
    Thanks a lot for you fast help.
    See more | Go to post

    Leave a comment:


  • I exported that problematic query to blank database as you said, and it worked perfectly fine. Thanks
    But I still don't know how to export ALL of my objects in one shot.

    Please advise,
    See more | Go to post

    Leave a comment:


  • How can I export all the forms, tables, queries and reports all together?
    See more | Go to post

    Leave a comment:


  • Error message running query : Can not open database

    Hello everyone,

    I'm running a Make-Table Query in Access. They was working fine up intill an hour ago and suddenly now that I'm running the query , I keep getting this error message:

    Can not open Database 'Query 1'. This may not be a database that your application recognizes, or the file maybe corrupted.


    And if I close access and reopen it , sometimes it works fine then but sometime it gives error...
    See more | Go to post

  • sarah2855
    replied to Autosave Access Forms
    Thanks msquared, That resolved my problem....
    See more | Go to post

    Leave a comment:


  • sarah2855
    started a topic Autosave Access Forms

    Autosave Access Forms

    How can I disable auto save function in access forms?Currently , If accidentally something is changed in forms, it gets saved automatically without being prompted.

    Thanks in advance
    See more | Go to post

  • sarah2855
    replied to Latest Date in a group function
    @ Pat: thanks Pat, your solution worked perfectly fine. They are not indexed columns but it's a small database. do you think it's gonna be an issue?...
    See more | Go to post

    Leave a comment:


  • sarah2855
    started a topic Latest Date in a group function

    Latest Date in a group function

    I have a table that looks like this:
    CustomerID ProductOrdered OrderDate OrderQuantity
    0001 ProdA 1/1/2007 3
    0001 ProdA 1/1/2008 2
    0002 ProdB 1/1/2006 1


    I'm only interested the LATEST order of each customer. I'm trying to use SELECT TOP, but somehow it doesn't work with Group function:
    Code:
    SELECT TOP 1 CustomerID,ProductOrdered,OrderQuantity,
    ...
    See more | Go to post

  • sarah2855
    replied to Delete Function
    Oh and thanks for the trick , it was really helpful.
    See more | Go to post

    Leave a comment:


  • sarah2855
    replied to Delete Function
    Thanks Neopa, I changed it to the following code, is that correct? it didn't throw any error message.
    p.s: What kind of moderator is Debas!!! No one forced you to reply on the threads !
    Code:
    strSQL = "DELETE FROM tblA WHERE fieldA =" & Chr(34) & name & Chr(34)
    DoCmd.RunSQL strSQL, -1
    See more | Go to post
    Last edited by NeoPa; Jun 1 '10, 12:40 PM. Reason: Nothing wrong - Just trimming the extra lines.

    Leave a comment:


  • sarah2855
    started a topic Delete Function

    Delete Function

    I'm reading Vb code of my ex-colleague and here is what I see
    Code:
    strSQL = "DELETE FROM tblA WHERE fieldA = """ & name & Chr(34)
    DoCmd.RunSQL strSQL, -1
    My question is why this is working !!! isn't it lacking one double quotation?? there is one quotation before DELETE but there is no ending quotation!!
    See more | Go to post
    Last edited by NeoPa; May 28 '10, 02:05 PM. Reason: Please use the [CODE] tags provided.

  • sarah2855
    replied to How to Insert data into a table
    I got it myself I needed to do:
    Code:
    strSQL = "INSERT INTO temp( ID )" & _
             "SELECT ID FROM Customers"
    See more | Go to post
    Last edited by NeoPa; Jun 13 '10, 11:34 AM. Reason: Please use the [CODE] tags provided

    Leave a comment:


  • sarah2855
    started a topic How to Insert data into a table

    How to Insert data into a table

    I have opened a recordset and now I want to copy all the records of that recordset to a table.
    Code:
    set rs = db.OpenRecordset("SELECT ID FROM Customers")
    This command gives me the list of all Ids in Customer Table.
    How can I now Insert this list in to a table?
    See more | Go to post
    Last edited by NeoPa; Jun 13 '10, 11:33 AM. Reason: Please use the [CODE] tags provided

  • sarah2855
    replied to Date difference records
    Thanks Pat,
    I just created an account here. I will definitely look for this topic. If you find it please let me know.

    Thanks in advance,
    Sarah...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...