S
shadowsong
I'm setting up a Word form that customers can use to submit product
registrations, and an Access database to store the data they send, one
record per product registered. I found this site -
http://gregmaxey.mvps.org/Extract_Form_Data.htm - which shows me how
to extract the form data to an Access table, but I have a minor
problem.
The code on that site seems to require unique fields, meaning each
instance of the form would be one record. However, my customers want
to send one form per end user - which could be anywhere from one to
100 separate products.
Is it possible to adjust the code found at the link above to treat
multiple form fields with the same name (such as 15 instances of
"serialnumber") as separate records, and copy form fields that only
appear once (such as "customername") into the appropriate field in
each record?
Also, if there are any variables in that code other than the field
names in Access and Word (such as "text1" and "favorite food") that
need to be changed depending on what I name things and where I save
them, please point them out to me. I haven't really learned VBA yet,
so I'm flying blind.
-Joanna
(I apologize if this is a double post... it timed out on me the first
time)
registrations, and an Access database to store the data they send, one
record per product registered. I found this site -
http://gregmaxey.mvps.org/Extract_Form_Data.htm - which shows me how
to extract the form data to an Access table, but I have a minor
problem.
The code on that site seems to require unique fields, meaning each
instance of the form would be one record. However, my customers want
to send one form per end user - which could be anywhere from one to
100 separate products.
Is it possible to adjust the code found at the link above to treat
multiple form fields with the same name (such as 15 instances of
"serialnumber") as separate records, and copy form fields that only
appear once (such as "customername") into the appropriate field in
each record?
Also, if there are any variables in that code other than the field
names in Access and Word (such as "text1" and "favorite food") that
need to be changed depending on what I name things and where I save
them, please point them out to me. I haven't really learned VBA yet,
so I'm flying blind.
-Joanna
(I apologize if this is a double post... it timed out on me the first
time)