Results 1 to 4 of 4
  1. #1
    fen38 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    2

    Delete Query in design view. The field in the panel gives two options . FROM and WHERE. Explain?

    So in this panel


    Click image for larger version. 

Name:	Capture2.JPG 
Views:	6 
Size:	19.7 KB 
ID:	21234

    It gives the other option on the drop down - FROM

    However it automatically goes back to WHERE

    I understand the SQL code for this. But why has MS put this in as it serves no purpose

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    this query is wrong,
    bring down the * into the grid
    FIELD should be: *
    DELETE should be FROM

  3. #3
    fen38 is offline Novice
    Windows 8 Access 2013
    Join Date
    Jul 2015
    Posts
    2
    Yeah but adding a * will delete the whole record on the table

    If i add a Criteria then I gen a error message

    I just want to know what to know when creating a simple delete query

    It gives the option (FROM to WHERE)

    BUT !

    MS ACCESS always defaults to where

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    thats what a delete query does. it deletes the whole record.

    or do you want to erase the field contents?....then that is an update query.

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

Similar Threads

  1. Replies: 2
    Last Post: 04-16-2013, 01:34 PM
  2. Replies: 1
    Last Post: 02-16-2013, 09:05 AM
  3. Replies: 1
    Last Post: 01-21-2013, 02:08 PM
  4. Options view
    By Mark@CHP in forum Database Design
    Replies: 1
    Last Post: 06-15-2012, 05:37 PM
  5. Unable to view query in design view
    By vemi007 in forum Queries
    Replies: 7
    Last Post: 01-19-2012, 11:36 AM

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