Sabtu, 17 Desember 2016

[MS_AccessPros] Delete Records

 

I am trying to create a button that will easily delete all records from a temporary table.

 

 

I have created a delete query but I want to run it from a button.  I can’t get the button to see the delete query so I though about some SQL.

 

I have tried.

 

DELETE FROM GameSchedule;

DELETE * FROM GameSchedule;

 

What am I doing wrong?  I keep getting an error message  “Expected End of Statement” with the word “GameSchedule” highlighted.

 

 

 

 

Eventually I want another button that will reduce specific records.

 

DELETE * FROM GameSchedule;

   WHERE fscEveID = 2

 

 

Thank you,

Bill Singer

MN,

Heading to 25 below tonight.

__._,_.___

Posted by: "Bill Singer" <Bill.Singer@at-group.net>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar