This might be difficult. I wrote some .asp code to dynamically generate an HTML table with input boxes for n number of rows via a textbox. You click on the submit button and get a new .asp page with the table ready for input. Now, what I want to do is write each row to a Access table.
Here’s the skinny: specify the number of Recipients (ie number of rows) – this goes to .asp code that generates a table whose items i can list out like so:
1 RecipientAge1 = 1
2 RecipientGender1 = Male
3 Ethnicity1 = Black
4 InsuranceStatus1 = Medicaid
5 RecipientAge2 = 2
6 RecipientGender2 = Female
7 Ethnicity2 = White
8 InsuranceStatus2 = Medicare
There are, in this case, 2 rows and the Name in the first column and the Value in the second. the names increment based on 0 to N from the input box on the referring form. If I take out the increment then I get a single Name with multiple values, comma-seperated. From there I get puzzled. It’s not obvious to me how you could ‘page thru’ each rown and assign values to a table in Access — I could just run a insert the table in question but in order to make sure the hidden field names match I’d end up with comma-seperate values in one row (sets of values for each column) rather than multiple rows.
Any suggestions??