Click here to Skip to main content
16,007,443 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCombobox Pin
riyaz_786_p24-Jul-06 18:26
riyaz_786_p24-Jul-06 18:26 
AnswerRe: Combobox Pin
Nouvand4-Aug-06 0:04
Nouvand4-Aug-06 0:04 
QuestionHow to write html in vb?? and post that html in the asp panel?? [modified] Pin
mimimimilaw24-Jul-06 16:20
mimimimilaw24-Jul-06 16:20 
AnswerRe: How to write html in vb?? and post that html in the asp panel?? Pin
Dave Sexton25-Jul-06 0:53
Dave Sexton25-Jul-06 0:53 
QuestionGlobal change to a standard toolstrip [modified] Pin
Gilles Plante24-Jul-06 9:30
Gilles Plante24-Jul-06 9:30 
AnswerRe: Global change to a standard toolstrip Pin
Dave Sexton25-Jul-06 0:45
Dave Sexton25-Jul-06 0:45 
GeneralRe: Global change to a standard toolstrip [modified] Pin
Gilles Plante25-Jul-06 5:53
Gilles Plante25-Jul-06 5:53 
QuestionProblems with SQL to an Access Database Pin
Joshua Boyle24-Jul-06 9:27
Joshua Boyle24-Jul-06 9:27 
Hello

I'm working on a small application that uses an MS Access 2003 database with one table (tblEvents). In one section of the application, the user will fill out several fields and then click the "Submit" button. Within my Click event handler for btnSubmit, I use the following SQL query as my command text:

Dim MySQL As String = "INSERT INTO Guestbook " & _<br />
           "(Planner, Location, Time, Date) VALUES " & _<br />
           "('" & txtHistoryPlanner.Text & "','" & txtHistoryLocation.Text & "','" _<br />
           & txtHistoryTime.Text & "','" & txtHistoryDate.Text & "')"


I took that string directly from a tutorial on the web strictly about updated rows and querying for rows out of a 2003 Access database and I'm 100% flustered because my app gives me an error stating that there is a syntax error with my INSERT INTO query.

If you know what's going on, please enlighten me! Thank you for your time.
AnswerRe: Problems with SQL to an Access Database Pin
Colin Angus Mackay24-Jul-06 20:26
Colin Angus Mackay24-Jul-06 20:26 
GeneralRe: Problems with SQL to an Access Database [modified] Pin
Joshua Boyle25-Jul-06 3:56
Joshua Boyle25-Jul-06 3:56 
GeneralRe: Problems with SQL to an Access Database Pin
Joshua Boyle25-Jul-06 4:16
Joshua Boyle25-Jul-06 4:16 
GeneralRe: Problems with SQL to an Access Database Pin
Colin Angus Mackay25-Jul-06 4:52
Colin Angus Mackay25-Jul-06 4:52 
GeneralRe: Problems with SQL to an Access Database Pin
ChandraRam25-Jul-06 19:04
ChandraRam25-Jul-06 19:04 
Questionusing a data reader to add items to an arraylist Pin
ssbelfast24-Jul-06 7:59
ssbelfast24-Jul-06 7:59 
AnswerRe: using a data reader to add items to an arraylist Pin
Dave Sexton25-Jul-06 0:40
Dave Sexton25-Jul-06 0:40 
GeneralRe: using a data reader to add items to an arraylist Pin
ssbelfast25-Jul-06 1:33
ssbelfast25-Jul-06 1:33 
QuestionUser Defined Type workaround using classes Pin
teepeetoo24-Jul-06 7:50
teepeetoo24-Jul-06 7:50 
QuestionLosing Global Variables Pin
ken11024-Jul-06 7:17
ken11024-Jul-06 7:17 
AnswerRe: Losing Global Variables Pin
Mandar Patankar24-Jul-06 11:25
Mandar Patankar24-Jul-06 11:25 
GeneralRe: Losing Global Variables Pin
ken11024-Jul-06 11:49
ken11024-Jul-06 11:49 
QuestionExcel macro Help Pin
awalle24-Jul-06 7:06
awalle24-Jul-06 7:06 
QuestionTableAdapter, Database Tutorial Pin
cstrader23224-Jul-06 6:38
cstrader23224-Jul-06 6:38 
AnswerRe: TableAdapter, Database Tutorial Pin
Dave Sexton25-Jul-06 0:36
Dave Sexton25-Jul-06 0:36 
AnswerRe: TableAdapter, Database Tutorial Pin
Nouvand4-Aug-06 0:19
Nouvand4-Aug-06 0:19 
QuestionDeclare Global variables in crystal reports Pin
ImranIBM24-Jul-06 6:19
ImranIBM24-Jul-06 6:19 

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.