CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 editable grid and inserting to another table

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 07/18/2007, 10:42 AM

Hi all.

I have an editable grid that pulls data from table A. There are blank fields on the editable grid that I add data to, and when I hit the "submit" button, would like to have this editable grid's info (with the new data I just added) added to Table B as new records.

ex. of editable grid
Name Hours worked Date
Joe 7/18/2007
Pete 7/18/2007
Mary 7/18/2007

simplified version above.....I pull Joe,Pete,Mary from Table A to Editable grid.. Hours worked is blank. Date is currentdate

I now add my info to hours worked.....

Name Hours worked Date
Joe 8 7/18/2007
Pete 7 7/18/2007
Mary 8 7/18/2007

and then I want to hit the submit button, and have this new info (name, hours worked, date) to go to Table B as new records. Because the next day they will do this again and add their name and hours worked for the next day (and Date will be incremented to 7/19/2007). This way , table B holds their timesheet information.

Been trying to figure this out and it seems like editable grid wants to just update. I have it sending the info to Table B, but it just wants to update the records with the new hours information, it's not sending as new records.
View profile  Send private message
Chris__T


Posts: 339
Posted: 07/18/2007, 10:44 AM

well, my tables looked clumped together. First table example should be spaced out so hours worked is blank. 2nd table example should be Pete.....8.....7/18/2007 and so on.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.