Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 17th, 2005, 8:47 AM   #1
a02227
Newbie
 
Join Date: Feb 2005
Posts: 1
Rep Power: 0 a02227 is on a distinguished road
Saving data to a database

can anyone tell em if its possible and maybe how i would go about taking values entered into various textboxes and saving them into particular fields in an access database. I really have no idea how i would go about it, thanks in advance.
a02227 is offline   Reply With Quote
Old Feb 17th, 2005, 9:55 AM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
http://www.devcity.net/Articles/116/...accessdb2.aspx
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Apr 21st, 2005, 3:35 AM   #3
Bharathi
Programmer
 
Join Date: Apr 2005
Posts: 32
Rep Power: 0 Bharathi is on a distinguished road
saving them into particular fields in an access database.

Hi,

I am giving some hints. If you want full application development code visit the site http://www.vkinfotek.com

1.You need to create and open the recordset say rs.
2.Type the following code in the Savebutton_Click event procedure.

a. Validate the data entered in text boxes
b. Appends a blank record in the table and assign data entered in text boxes to fields of table and update the table.
c.Clears the text box controls

Use the following code in your project.

Assume there are two text box controls on the form and two fields in the table.

rs.AddNew
rs!code=mcode.text
rs!name=mname.text
rs.Update


Regards
Books for programmers.

"Application Series Books" teach the reader how to develop an accounting package for a client server network. These books also teach all the secrets and logics required to develop an accounting package.
http://www.vkinfotek.com
Bharathi is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:20 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC