Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts

    avoid Access message (Access 2000)

    In my code to export objects, i came accross a problem with exporting a report
    because a message appears " enter parameter value".When i click "yes",i succeed to export it
    but i want to avoid the message and export the report without stopping.
    What command can i put before the line for exporting the report in order to run my code
    smoothly without stopping?

    DoCmd.TransferDatabase acExport, "Microsoft Access", DBName, acReport, "rptCustomersSummary",

    "rptCustomersSummary"

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: avoid Access message (Access 2000)

    If you get prompted for a parameter while trying to export a report, there is probably an error somewhere. You should try to find the error and correct it, instead of trying to suppress it.

  3. #3
    3 Star Lounger
    Join Date
    Jul 2001
    Posts
    280
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: avoid Access message (Access 2000)

    And right you are !!!!!! I did found the error and i think i owe you an appreciation


    regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •