Click here to Skip to main content
15,892,480 members
Home / Discussions / Database
   

Database

 
GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 22:31
Blue_Boy27-Apr-08 22:31 
GeneralRe: Need help on query Pin
Marek Grzenkowicz27-Apr-08 23:39
Marek Grzenkowicz27-Apr-08 23:39 
GeneralRe: Need help on query Pin
Blue_Boy27-Apr-08 23:41
Blue_Boy27-Apr-08 23:41 
QuestionWhy is this a syntax error? Pin
MikeMarq27-Apr-08 15:53
MikeMarq27-Apr-08 15:53 
AnswerRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 20:18
Ashfield27-Apr-08 20:18 
AnswerRe: Why is this a syntax error? Pin
Krish - KP27-Apr-08 21:00
Krish - KP27-Apr-08 21:00 
GeneralRe: Why is this a syntax error? Pin
Ashfield27-Apr-08 21:18
Ashfield27-Apr-08 21:18 
Generalbasic question inserting data into a table Pin
MikeMarq27-Apr-08 11:45
MikeMarq27-Apr-08 11:45 
Ok, I know vb.net and I've used ms access before and I understand the basic concepts of what a recordset and cursor and other stuff are but I have never used ADO before to program a database and I need to learn. Specifically I am trying to use vb.net 2005 to program ms access 2007.

I've opened the database and opened a recordset successfully. This is the code I used.

Private ADOConnection As New ADODB.Connection 'the database<br />
Private rsGuest As New ADODB.Recordset 'the recordset<br />
<br />
'code for opening the database and recordset<br />
ADOConnection.Open("provider=microsoft.ace.oledb.12.0;" & "Data Source=j:\junk.accdb")<br />
rsGuest.Open("Guest", ADOConnection, ADODB.CursorTypeEnum.adOpenDynamic, ADODB.LockTypeEnum.adLockOptimistic)


What I need to know is what is the syntax for adding data to a recordset. If someone could give me an example it would be very helpfull. Thanks in advance.

Mike


ps I have googled the hell out of this but every example I find is either a different version of access or vb, or is an example of using sql server, or it is an example of vba within access. In any case there seem to subtle incompatabilities that mean the examples never seem to work.
GeneralRe: basic question inserting data into a table Pin
Blue_Boy27-Apr-08 11:53
Blue_Boy27-Apr-08 11:53 
GeneralRe: basic question inserting data into a table Pin
Rob Graham30-Apr-08 3:47
Rob Graham30-Apr-08 3:47 
Questionsql refresh Pin
bapu288927-Apr-08 8:26
bapu288927-Apr-08 8:26 
GeneralRe: sql refresh Pin
Blue_Boy27-Apr-08 10:39
Blue_Boy27-Apr-08 10:39 
QuestionRe: sql refresh Pin
bapu288928-Apr-08 9:45
bapu288928-Apr-08 9:45 
GeneralRe: sql refresh Pin
mrcsn29-Apr-08 1:05
mrcsn29-Apr-08 1:05 
QuestionRe: sql refresh Pin
bapu288929-Apr-08 9:36
bapu288929-Apr-08 9:36 
GeneralQuestion about pivot Pin
Marc Clifton27-Apr-08 8:00
mvaMarc Clifton27-Apr-08 8:00 
AnswerRe: Question about pivot Pin
i.j.russell30-Apr-08 13:17
i.j.russell30-Apr-08 13:17 
GeneralRe: Question about pivot Pin
Marc Clifton30-Apr-08 13:38
mvaMarc Clifton30-Apr-08 13:38 
GeneralLeft Join question Pin
Marc Clifton27-Apr-08 2:32
mvaMarc Clifton27-Apr-08 2:32 
GeneralFigured it out Pin
Marc Clifton27-Apr-08 2:46
mvaMarc Clifton27-Apr-08 2:46 
Questiondata joins Pin
Member 470807726-Apr-08 10:26
Member 470807726-Apr-08 10:26 
GeneralRe: data joins Pin
Blue_Boy26-Apr-08 11:22
Blue_Boy26-Apr-08 11:22 
GeneralRe: data joins Pin
Rami Said Abd Alhalim26-Apr-08 20:17
Rami Said Abd Alhalim26-Apr-08 20:17 
Questionsqlserver Pin
Member 470807726-Apr-08 10:09
Member 470807726-Apr-08 10:09 
GeneralRe: sqlserver Pin
Blue_Boy26-Apr-08 10:18
Blue_Boy26-Apr-08 10:18 

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.