Hi,
I have a small online survey in two parts designed to allow users to
rank a few organisations that they have dealings with from a large
list of organisations. I want the users to be able to rank a number
of organisations at the same time rather than going through a form for
each one.
At the moment the survey has two pages. The first page allows the user
to select a number of organisations from the list. This selection is
saved in a table in an Access database with five fields: ID, User,
Organisation and Ranking.
The second page loops through the data from the database selected by
user and presents the list of organisations in a table with a row for
each record. The table has a ranking field for each organisation. The
user enters numeric data in this field to rank the organisation.
So far so good. Where I am having problems is in updating the database
with the data from the form. What I need to do is loop through each
line of the table on the form, select the record from the database,
update it and then move to the next item.
The form has a field for each record with the same name so using
Request.Form("FieldName") to grab the data from the form doesn't seem
to work.
I am sure that there must be a way of achieving what I want do: but I
can't get it.
I'd appreciate any suggestions or pointers.
Thanks in advance for any help.
Regards
Emmett Power