Forums

ASP

This topic is locked

multiple insert to one table with repeat region

Posted 08 Oct 2003 15:51:23
1
has voted
08 Oct 2003 15:51:23 Sean Cunningham posted:
Cheers all,

First of all, I'm using DMX, ASP VBScript, and SQL Server 2000.

I'm trying to insert multiple records into a single table. Not so tough using commands, but my catch here is that I'm using a repeat region server behavior in DMX. So, I was wondering if there's a way to have the INSERT server behavior (or command, or custom code, whatever's required) repeat for each record in the repeat region behavior. Sometimes there will be just 1 record, sometimes there could be 20 or so, and that's where I'm getting stuck.

I'll be happy to post some code if that would help, but I figured I'd ask first just to see if what I'm looking for is possible.

Thanks very much!

Reply to this topic