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

Ask a Question related to ASP, Design and Development.

  1. #1

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

    Alrighty,
    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
    much!
    Renie83
    Renie83 Guest

  2. Similar Questions and Discussions

    1. Inserting data into two seperate tables with Dreamweaver
      I am trying to find out how you to insert the unique ID from one table into another table so that those two tables become connected. In other words...
    2. How to take data out of table, restructure the table and then put the data back in
      Hi All Wonder if you could help, I have a bog standard table called STOCKPRICES that has served me well for a while, but now I need to change the...
    3. SQL: Inserting data from table1 with static data into table 2
      Hi, I'm trying to create an SP in SQL Server 2000 that will read in a load of row values and insert them, along with two static values, into...
    4. Inserting data into a table
      I am quite new to all this but am trying to create a database driven site. I have been able to use information from my sample database but I now...
    5. Inserting Data
      Hi, i am using ASP and Access. I need to insert the same data into two different tables or get MS Access to do this for me, can this be done? ...
  3. #2

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

    Renie83,
    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


    Kiran Math Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139