![]() |
| ||
| Inserting Data into Access Database Hello I need help I have created a application that pulls data from and is supposed to update and insert data into an access database. I have been successful in pulling data from it using first, last, previous and next buttons. However, I can't get my insert button to work. Here is the code I have for that button. I can't figure out what is wrong in the code. Can some one please help? This is the connection code. This is the code for the insert button: I get no errors at compilation. Everything else works, but nothing is inserted and it goes right to the catch and the event handler message comes up. |
| ||
| Re: Inserting Data into Access Database Hi, near as I can tell this looks ok. Some things to look at * Is rs always properly initialized in the "else" code? * Is there another "rs" variable declared in another scope? * Is this a legal row -- are all the required columns set? Are all the fields in legal format (matching the DDL) ? any more information you can provide? Jason Sunflower Network - Instant Computer Help www.sunflowernetwork.com |
| All times are GMT -4. The time now is 6:38 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC