Results 1 to 2 of 2
  1. #1
    Cwang is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Mar 2016
    Posts
    1

    ODBC Access Command - Auto 'Yes'

    Hi Bros,



    When I run my query as follows:

    SELECT * INTO Current_Rate
    FROM ADM_TBLGS_INTEREST
    WHERE ADM_TBLGS_INTEREST.INTDT>=#6/30/2011#;

    there is this command box that kept appearing, is there any code to make it automatically run? As in skip the prompt from the command box.

    Command Box Prompt:
    "You are about to run a make-table query that will modify data in your table. Are you sure you want to run this type of query? Yes / No / Help"

    Please help!
    Thanks!

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    If you mean the box to confirm the query is going to append data, then yes,
    before you execute the query, turn off messages with,
    docmd, setwarnings off.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 03-02-2015, 09:44 AM
  2. Replies: 3
    Last Post: 11-04-2011, 01:50 PM
  3. Replies: 5
    Last Post: 10-25-2011, 08:01 AM
  4. odbc to another access db
    By bbxrider in forum Import/Export Data
    Replies: 6
    Last Post: 02-08-2011, 10:57 AM
  5. ODBC -- call failed. | Oracle ODBC
    By drdexter33 in forum Access
    Replies: 1
    Last Post: 04-03-2010, 09:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums