Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Inserting into one table data from 2 tables and some input data.

Thread Tools

Inserting into one table data from 2 tables and some input data.

Posts: n/a
I pull records from a database table onto a page based on vendor #. On
this page I have an input box after each row of data that is just
placed in there with the movenext of the rs so the text box has the
same name set to all of them. What I need and want to do is let users
add a date in text boxes as they need to. If there is a date in the
text box I want some of the information in that record on that page
and that date loaded into a new table when they click the submit
button. Somethings I think/know I need:
A way to check to see if there is a date entered into the text box if
not move on to the next record and check that one.
A way to make sure my insert statement will go thorough and insert
each row.

I saw no examples on using an insert with a recordset so that might
not even be possible. Any help would be greatly appreciated. Thanks so
Reply With Quote
Kiran Math
Posts: n/a
You can validate the data on the server side or on the client side.

You may have to write update statement for each updation you want.

Thats a easy job!!
Kiran Math

Reply With Quote

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting data from an array into an ms access 2000 table Cooper Deford Ruby 2 07-22-2008 02:52 AM
Inserting into two tables JJ297 ASP .Net 2 08-17-2007 03:27 PM
Checkboxlist - inserting values into tables =?Utf-8?B?U2FuZHk=?= ASP .Net 0 02-09-2005 03:49 AM
Inserting Input data into a HTTP post. Geoff XML 3 06-10-2004 05:23 PM
Inserting data into a table Geoff Wickens ASP General 1 08-25-2003 10:06 AM