Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / November 2005

Tip: Looking for answers? Try searching our database.

convert query to query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ellsun - 07 Nov 2005 21:46 GMT
My delete query is asking "which table to delete records from?"

I used the asterick of the table from which I want the records deleted.

Can't figure it out.
John Vinson - 08 Nov 2005 02:41 GMT
>My delete query is asking "which table to delete records from?"
>
>I used the asterick of the table from which I want the records deleted.
>
>Can't figure it out.

Well, we can't either... *you* can see the query; we cannot.

Care to open the query in SQL view and post it here?

Just a GUESS: the table from which you wish to delete records should
be the only table mentioned in the DELETE clause, as in

DELETE TableA.*
FROM TableA Inner Join TableB
ON TableA.ID = TableB.ID
WHERE TableB.Action = "Delete Me";

rather than

DELETE TableA.*,TableB.Action
FROM...

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.