|
-
May 14th, 2006, 08:16 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Access
Hi!!
How do i from vb 2005 add a new record to a access DB and then save it?
(Sry my enlgish)
-
May 15th, 2006, 02:29 AM
#2
Hyperactive Member
Re: Access
I think, You wanna to add a record in ACCESS Table using VB2005..If it is so,,
then build a recordset..
VB Code:
set rst=db.openrecordset(sql statement)
then add a new row to recordset using
and then fill out all the required info in the new row like
and then update the new record using update method..ex:
** This is what I used to do in VB6.0,I dont see VB2005 till now and so I dont know the correct syntaxes of it..If any one responded with correct syntaxes of 2005 then it will be greatly helpful 4 both of us..
All the best...
Last edited by nagasrikanth; May 15th, 2006 at 02:32 AM.
Reason: small mistake in code..
The Difference between a Successful person and others is not a Lack of Knowledge,
But rather a Lack of WILL 
-
May 15th, 2006, 08:27 AM
#3
Re: Access
vb 2005 = .net (I think) - post in that forum.. The may have some simple tutorials to follow too.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
May 17th, 2006, 11:49 AM
#4
Thread Starter
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|