CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Adding several rows to a table from a record

Print topic Send  topic

Author Message
robn

Posts: 70
Posted: 06/01/2007, 7:11 AM

I have an issue that I am trying to resolve.

I have a large record form with 20 sections on it all containing the basic same data (report, Issues, Comments and Actions). What I am after doing is on insert or update instead of having to update create one large row of data with all the fields on it I want to normalise the data. I intend to do this be having one table containg the record ID, Record Name, User name and Status. Along with another table that has a foriegn key to the Record ID (RID) and holds the sections number and the rest of the basic data (report, Issues, Comments and Actions).

But I struggling to find a way to update / insert mutiple rows from a record along with updating two tables at the same time. If anyone has any ideas how to do the above I would be most grateful.

I'm currently using ASP and SQL 2000.

Thanks in advance

Rob
View profile  Send private message
smalloy

Posts: 107
Posted: 06/07/2007, 2:53 PM

I've done this, I did it by using a CUSTOM INSERT, using a custom insert you can use a view or a stored proceedure! ts that easy. Click on your record and then select the Data tab in properties, look toward the bottom and you will see "Custom Insert", user the elypsis (...) to find the view or stored proceedure.

There is a newat little wizard to help you ad if you search Custom Insert in the CodeCharge help (F1) there is more info too.

Steve
_________________
Anything can be done, just give me time and money.
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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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