Click here to Skip to main content
16,009,185 members
Home / Discussions / Database
   

Database

 
GeneralRe: Combining Data From Temp Tables Pin
Matt U.28-Jan-13 9:54
Matt U.28-Jan-13 9:54 
GeneralRe: Combining Data From Temp Tables Pin
Jörgen Andersson28-Jan-13 11:18
professionalJörgen Andersson28-Jan-13 11:18 
GeneralRe: Combining Data From Temp Tables Pin
Matt U.28-Jan-13 12:13
Matt U.28-Jan-13 12:13 
GeneralRe: Combining Data From Temp Tables Pin
Mycroft Holmes28-Jan-13 12:00
professionalMycroft Holmes28-Jan-13 12:00 
GeneralRe: Combining Data From Temp Tables Pin
Matt U.28-Jan-13 12:16
Matt U.28-Jan-13 12:16 
AnswerRe: Combining Data From Temp Tables Pin
Jörgen Andersson28-Jan-13 22:57
professionalJörgen Andersson28-Jan-13 22:57 
GeneralRe: Combining Data From Temp Tables Pin
Matt U.29-Jan-13 2:52
Matt U.29-Jan-13 2:52 
GeneralRe: Combining Data From Temp Tables Pin
Jörgen Andersson29-Jan-13 3:02
professionalJörgen Andersson29-Jan-13 3:02 
GeneralRe: Combining Data From Temp Tables Pin
Jörgen Andersson28-Jan-13 22:28
professionalJörgen Andersson28-Jan-13 22:28 
Question[VB.net+ADO.net]how can combobox 1 control the result of combobox2 Pin
Achilles8428-Jan-13 8:20
Achilles8428-Jan-13 8:20 
AnswerRe: [VB.net+ADO.net]how can combobox 1 control the result of combobox2 Pin
Achilles8430-Jan-13 3:47
Achilles8430-Jan-13 3:47 
QuestionSMO Retrieve Table Record Pin
savbace28-Jan-13 2:31
savbace28-Jan-13 2:31 
AnswerRe: SMO Retrieve Table Record Pin
Sandeep Mewara28-Jan-13 2:42
mveSandeep Mewara28-Jan-13 2:42 
AnswerRe: SMO Retrieve Table Record Pin
savbace28-Jan-13 2:55
savbace28-Jan-13 2:55 
QuestionRe: SMO Retrieve Table Record Pin
Eddy Vluggen28-Jan-13 3:21
professionalEddy Vluggen28-Jan-13 3:21 
AnswerRe: SMO Retrieve Table Record Pin
Sandeep Mewara28-Jan-13 3:22
mveSandeep Mewara28-Jan-13 3:22 
AnswerRe: SMO Retrieve Table Record Pin
savbace28-Jan-13 3:40
savbace28-Jan-13 3:40 
Questionhow can reporting in this Situation Pin
karimkpg26-Jan-13 2:38
karimkpg26-Jan-13 2:38 
AnswerRe: how can reporting in this Situation Pin
Sandeep Mewara26-Jan-13 6:02
mveSandeep Mewara26-Jan-13 6:02 
QuestionQuery to concatenate multiple rows based on sequence in results set Pin
Alex Lush24-Jan-13 22:43
Alex Lush24-Jan-13 22:43 
AnswerRe: Query to concatenate multiple rows based on sequence in results set Pin
Eddy Vluggen25-Jan-13 1:51
professionalEddy Vluggen25-Jan-13 1:51 
AnswerRe: Query to concatenate multiple rows based on sequence in results set Pin
Shameel25-Jan-13 3:20
professionalShameel25-Jan-13 3:20 
GeneralRe: Query to concatenate multiple rows based on sequence in results set Pin
Alex Lush25-Jan-13 3:30
Alex Lush25-Jan-13 3:30 
AnswerRe: Query to concatenate multiple rows based on sequence in results set Pin
mmccarth25-Jan-13 5:21
mmccarth25-Jan-13 5:21 
QuestionSyntax error (Missing Operator) in Query expression ':0:1 Pin
IgaBaro23-Jan-13 14:40
IgaBaro23-Jan-13 14:40 
Hallo Forum,

I am new to this forum and I would like to get your help. I am having issues with this code.

HERE is the error I am getting: Syntax error (Missing Operator) in Query expression 'Blush | :O :1


Dim CustomerTrans As OleDb.OleDbTransaction = Nothing
Dim MyConnection As OleDb.OleDbConnection = Nothing

'Creat connection and the transactions Object

Try
MyConnection = New OleDb.OleDbConnection(My.Settings.dbConnectionString)
MyConnection.Open()
'Begin Transaction
CustomerTrans = Myconnection.BeginTransaction

'Insert the New receipt
Dim SQL As String = "Insert into Receipts (ReceiptDate,ReceiptTotal) values (Blush | :O :1)"
Dim CMD1 As New OleDb.OleDbCommand
CMD1.Connection = Myconnection
CMD1.Transaction = CustomerTrans
CMD1.CommandText = SQL
CMD1.Parameters.AddWithValue("Blush | :O ", Now.Date)
CMD1.Parameters.AddWithValue(":1", TotalPriceTxt)

CMD1.ExecuteNonQuery()
CMD1.Dispose()

i AM Using Access 2007 and I set t

ANY HELP GIVEN IS HIGHLY APPRECIATED. i TRIED ALMOST ALL I CAN THINK OF.

Thank you in advance.

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.