PC Review


Reply
Thread Tools Rate Thread

Delete query problem

 
 
New Member
Join Date: Jul 2010
Posts: 1
 
      27th Jul 2010
Hello,
I have a DB I made in Microsoft SQL server, and I connected it to access, and now I'm making the interface for it.
I created a Delete query. I want to put a button in my form that runs this query BUT it's not working! I successfuly done this with selection queries. but when I get the window to chose the qry (when I add new button) the delete query isn't on the list. I clicked on "pass through" icon and chose the DB for this query, then I'm able to select it in the list and add to form, but it gives me errors like "incorrect syntex near * and near dbo_tblx " then I see that the SQL code is changed from this

Code:
DELETE FROM dbo_tblx
WHERE (((dbo_tblx.x)=[Enter number:]));
to this

Code:
DELETE *
FROM dbo_tblx
WHERE (((dbo_tblx.x)=[Enter number:]));
any advice on how to make that query run from my form??
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Query Problem Jeff C Microsoft Access 2 28th Feb 2008 03:13 PM
Problem with delete query Wendy Microsoft Access 2 7th Aug 2006 11:05 AM
Delete Query Problem =?Utf-8?B?ZHJ3aXA=?= Microsoft Access Queries 2 20th Mar 2006 10:25 PM
Problem with Delete query Jim Devenish Microsoft Access Queries 1 31st Jan 2006 04:26 PM
Delete Query Problem =?Utf-8?B?aWhvbGRlcg==?= Microsoft Access Queries 2 25th Feb 2005 09:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:15 AM.