![]() |
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.
|
|
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 |
| All times are GMT -5. The time now is 6:27 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC