 |
|
 |
Fluff63 Level: Trainee
 Registered: 11-01-2012 Posts: 2
|
delete a record from sql server
I want to be able to delete a record from a sql server table based on a value in a cell on an Excel 2007 Spreadsheet this to be done via a VB button.
The table I'm accessing is a stand alone table of just Title and FirstName, created and used by myself only, It is utilised for sql extracts for comparison for male and female names ie if the name exists in the table don't pull the record and so on. There are no security issues here.
I'm very new to VB, being primarily an Oracle developer, so I'm doing this as a test project (No help from company) to make my work a bit easier when working on spreadsheets.
I can do all the operations I need in SQL Server Manager using SQL but I want to try this as an exercise.
Obviously if someone could show me some coding I would be grateful.
I have already created the search, and add new record functions but I'm finding no joy in getting any code for the delete function.
Hoping someone can help.
[Edited by Fluff63 on 12-01-2012 at 09:26 AM GMT]
|
|
11-01-2012 at 03:29 PM |
|
|
Fluff63 Level: Trainee
 Registered: 11-01-2012 Posts: 2
|
Re: delete a record from sql server
Thanks for the reply. sorted now.
|
|
|
12-01-2012 at 11:42 AM |
|
|
|
|
 |
 |