Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Question about cicle For-Next. Pin
Hurricane30003-Sep-09 6:00
Hurricane30003-Sep-09 6:00 
QuestionPrinting - how to set a standard paper size?? Pin
BluesEnd2-Sep-09 9:38
BluesEnd2-Sep-09 9:38 
AnswerRe: Printing - how to set a standard paper size?? Pin
Henry Minute2-Sep-09 13:07
Henry Minute2-Sep-09 13:07 
GeneralRe: Printing - how to set a standard paper size?? Pin
BluesEnd2-Sep-09 20:46
BluesEnd2-Sep-09 20:46 
QuestionDAT file to text file or other readable format Pin
Thayhor2-Sep-09 7:58
Thayhor2-Sep-09 7:58 
AnswerRe: DAT file to text file or other readable format Pin
David Mujica2-Sep-09 8:17
David Mujica2-Sep-09 8:17 
AnswerRe: DAT file to text file or other readable format Pin
Dave Kreskowiak2-Sep-09 8:57
mveDave Kreskowiak2-Sep-09 8:57 
QuestionInserting from VB.NET to SQL Compact Pin
TheComputerMan2-Sep-09 2:12
TheComputerMan2-Sep-09 2:12 
Not sure if this belongs here or the databases forum.

Interesting little problem this one. I am creating a list (of string) of statements to be inserted into a database table in SQL Compact (v3.1)

listParams.Add("INSERT INTO [SYS_tbl_SelectText] ([SQLTitle],[SQLStatement]) VALUES ('APPTHISTORY','SELECT SDD_tbl_Appointments.AppointmentDate AS [Appt Date], SDD_tbl_Appointments.AppointmentStart AS [Starts], SDD_tbl_Appointments.AppointmentEnd AS [Ends], (SDD_tbl_Employees.FirstName+' '+SDD_tbl_Employees.LastName) AS [With], SDD_tbl_Treatments.Description AS [Treatment], SDD_tbl_Appointments.FullyPaid AS [Paid], SDD_tbl_Appointments.ValueGross AS [Value], SDD_tbl_Appointments.GrossOutStanding AS [Value Outstanding], SDD_tbl_Appointments.GoodsOutstanding AS [Goods Outstanding] FROM SDD_tbl_Appointments INNER JOIN SDD_tbl_Employees ON SDD_tbl_Appointments.EmployeeID = SDD_tbl_Employees.EmployeeID INNER JOIN SDD_tbl_Treatments ON SDD_tbl_Appointments.TreatCode = SDD_tbl_Treatments.ID')")

It goes into the list just fine, but when the contents of the list are executed, this particular one causes an error:

There was an error parsing the query. [ Token line number = 1,Token line offset = 276,Token in error = +SDD_tbl_Employees.LastName) AS [With], SDD_tbl_Treatments.Description AS [Treatment], SDD_tbl_Appointments.FullyPaid AS [Paid], ]

Any ideas how to resolve this? It seems it does not like the +' '+
AnswerRe: Inserting from VB.NET to SQL Compact Pin
The Man from U.N.C.L.E.2-Sep-09 2:29
The Man from U.N.C.L.E.2-Sep-09 2:29 
GeneralRe: Inserting from VB.NET to SQL Compact Pin
TheComputerMan2-Sep-09 22:07
TheComputerMan2-Sep-09 22:07 
QuestionProcess.Start problems Pin
AB_dev1-Sep-09 23:21
AB_dev1-Sep-09 23:21 
AnswerRe: Process.Start problems Pin
Dave Kreskowiak2-Sep-09 4:19
mveDave Kreskowiak2-Sep-09 4:19 
QuestionInsert with conditions by Parameters ? Pin
Paramu19731-Sep-09 23:02
Paramu19731-Sep-09 23:02 
AnswerRe: Insert with conditions by Parameters ? Pin
Johan Hakkesteegt1-Sep-09 23:29
Johan Hakkesteegt1-Sep-09 23:29 
AnswerRe: Insert with conditions by Parameters ? Pin
Eddy Vluggen2-Sep-09 0:58
professionalEddy Vluggen2-Sep-09 0:58 
Questionwhen Calling a C++ dll function in VBA, error happened! help! Pin
illfar1-Sep-09 22:00
illfar1-Sep-09 22:00 
AnswerRe: when Calling a C++ dll function in VBA, error happened! help! Pin
Dave Kreskowiak2-Sep-09 4:06
mveDave Kreskowiak2-Sep-09 4:06 
GeneralRe: when Calling a C++ dll function in VBA, error happened! help! Pin
illfar2-Sep-09 15:20
illfar2-Sep-09 15:20 
GeneralRe: when Calling a C++ dll function in VBA, error happened! help! Pin
illfar2-Sep-09 15:22
illfar2-Sep-09 15:22 
GeneralRe: when Calling a C++ dll function in VBA, error happened! help! Pin
Dave Kreskowiak2-Sep-09 18:00
mveDave Kreskowiak2-Sep-09 18:00 
AnswerRe: when Calling a C++ dll function in VBA, error happened! help! Pin
illfar2-Sep-09 19:40
illfar2-Sep-09 19:40 
Questionsir pleaseeeeeeeeeeeeeeeee help me Pin
rashid20091-Sep-09 21:23
rashid20091-Sep-09 21:23 
AnswerRe: sir pleaseeeeeeeeeeeeeeeee help me Pin
Christian Graus1-Sep-09 21:26
protectorChristian Graus1-Sep-09 21:26 
GeneralRe: sir pleaseeeeeeeeeeeeeeeee help me Pin
εїзεїзεїз1-Sep-09 22:40
εїзεїзεїз1-Sep-09 22:40 
GeneralRe: sir pleaseeeeeeeeeeeeeeeee help me Pin
Christian Graus2-Sep-09 0:23
protectorChristian Graus2-Sep-09 0:23 

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.