Click here to Skip to main content
15,925,062 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Connection Pin
shakti538526-Dec-06 2:58
shakti538526-Dec-06 2:58 
GeneralRe: Connection Pin
Colin Angus Mackay26-Dec-06 4:57
Colin Angus Mackay26-Dec-06 4:57 
GeneralRe: Connection Pin
shakti538526-Dec-06 20:11
shakti538526-Dec-06 20:11 
Questionhelp vb express 2005 Invoice Printing Pin
vbbeg22-Dec-06 18:44
vbbeg22-Dec-06 18:44 
QuestionDeleting using the ado delete command Pin
govagedon22-Dec-06 17:45
govagedon22-Dec-06 17:45 
AnswerRe: Deleting using the ado delete command Pin
ChandraRam22-Dec-06 20:25
ChandraRam22-Dec-06 20:25 
AnswerRe: Deleting using the ado delete command Pin
Werries23-Dec-06 0:55
Werries23-Dec-06 0:55 
GeneralRe: Deleting using the ado delete command Pin
govagedon23-Dec-06 4:34
govagedon23-Dec-06 4:34 
To chandram i've used sql queries similar to the ones that Werries has posted. And very time i try to move to the next line when i finish typing it in i get this error "compile error, expected expression" and it highlight the asterik. If i try the "delete from" command" it hightlights my table name and give the same error.

Here's the code i've wirtten
<pre>confirm = MsgBox("Are you sure you want to delete these records", vbYesNo, "CAUTION")
If confirm = vbYes Then
delete from pay_payment_history02 where process_we_date= like 'we_date.textbox'
MsgBox "Records Deleted", , "Message"
Else
MsgBox "Records not deleted", , "message"

End If</pre>

pay_payment_history02 = table name
process_we_date = field name
we_date.textbox = text box where the user selects the date to be deleted from the datafield.

Thanks for the help Werries your welcome to give any more advice if you have i'm looking for lots of it, like i said i'm new at this.So its sort of like a practice program.
AnswerRe: Deleting using the ado delete command Pin
manowj25-Dec-06 19:05
manowj25-Dec-06 19:05 
GeneralRe: Deleting using the ado delete command Pin
govagedon26-Dec-06 7:01
govagedon26-Dec-06 7:01 
QuestionDeployment Pin
Karma3125122-Dec-06 8:35
Karma3125122-Dec-06 8:35 
AnswerRe: Deployment Pin
Dave Kreskowiak22-Dec-06 8:59
mveDave Kreskowiak22-Dec-06 8:59 
AnswerRe: Deployment Pin
Christian Graus22-Dec-06 10:17
protectorChristian Graus22-Dec-06 10:17 
AnswerRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 7:02
mveDave Kreskowiak22-Dec-06 7:02 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 7:24
mveDave Kreskowiak22-Dec-06 7:24 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 7:36
mveDave Kreskowiak22-Dec-06 7:36 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 8:06
mveDave Kreskowiak22-Dec-06 8:06 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement [modified] Pin
Swisher2422-Dec-06 8:13
Swisher2422-Dec-06 8:13 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 8:46
mveDave Kreskowiak22-Dec-06 8:46 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Swisher2422-Dec-06 8:59
Swisher2422-Dec-06 8:59 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 9:00
mveDave Kreskowiak22-Dec-06 9:00 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Christian Graus22-Dec-06 10:22
protectorChristian Graus22-Dec-06 10:22 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Dave Kreskowiak22-Dec-06 12:16
mveDave Kreskowiak22-Dec-06 12:16 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Colin Angus Mackay22-Dec-06 9:29
Colin Angus Mackay22-Dec-06 9:29 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Christian Graus22-Dec-06 10:20
protectorChristian Graus22-Dec-06 10:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.