Problem when Report is Exported to Excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manoj9849967222
    New Member
    • Jul 2007
    • 48

    Problem when Report is Exported to Excel

    Hi All

    I need a urgent help. I have a report in which one of the cloumn is "Productid"

    My report looks like this

    Productid Qty

    1.3.2------------------------500
    1.4.5-----------------------600

    Now when i export the report to excel the productid column gets automatically converted to number.

    Could any one tell me what is the problem.


    Regards
    Manoj
  • nico5038
    Recognized Expert Specialist
    • Nov 2006
    • 3080

    #2
    Excel will assume that the field is numeric.
    You can use in your query a concatenation with a space to prevent this like:

    select " " & ID,

    Nic;o)

    Comment

    • manoj9849967222
      New Member
      • Jul 2007
      • 48

      #3
      Hi Nico

      I have used the SQl given by you. But now it asks for the parameter asking me to enter the product id. I have 100 of productid & i want them all in a single report.

      Can this be avoided

      Regards
      Manoj

      Comment

      • nico5038
        Recognized Expert Specialist
        • Nov 2006
        • 3080

        #4
        The parameter request is because you entered the fieldname incorrect, Access doesn't recognize it as a tablefield, try:

        [Productid]

        Nic;o)

        Comment

        Working...