Forums
This topic is locked
Inserting Multiple records
Posted 14 Jun 2001 13:09:01
1
has voted
14 Jun 2001 13:09:01 Christopher Thompson posted:
I want to create a form that allows the user to add multiple records to a table. the fields added are text based eg. The table contains units for a course & each course can have up to 10 units. How do I create a page where the user can add up to ten new units to the table? If anyone knows of how this can be done in UD or know of any tutorials available then please let me know.
Thanks everybody......Keep on rollin !
CeeTee
Replies
Replied 15 Jun 2001 16:17:03
15 Jun 2001 16:17:03 Jay Blanchard replied:
There is not a server behavior in UD that will set you up to add multiple records. I have yet to see an extension for this. Depending on what database you are using and your comfort with VBScript you can hand code this yourself using a WHILE loop and a SLEEP or DELAY between each iteration. Most databases have some sort of file locking mechanism, so that you could only have one record open at a time, that's why you would have to iterate through each one.