Creation of array for input of data

15 pts.
Tags:
Arrays
LOOP statement
Update records
VBA
Hi, I am using access 07. I have created an input form (forms.Base) with an input field of source_code. Below this there are options for other fields to be updated in a record set. There would be multiple entries in the source_code field, seperated by ';'. There would be a maximum number of 10 entries in this field. When the user presses submit, the table (tbl.base) would be updated with the entry in the source_code field, with each of the values inserted in the other entry fields. It would then loop until there are no more entries in the source_code field. Therefore in the dataset/table the source_code field would be populated with each different value but the other fields would be populated with the same values. Can anyone help with the required VBA code? Thanks

Software/Hardware used:
MS Access 2007

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    The question is not clear enough. Are you going to insert each value from the source_code field into different fields of one record, or into different records ? Could you please provide an example ?
    69,365 pointsBadges:
    report
  • Rponsford
    Hi, I have actually come up with a solution to this- I'll post the code this afternoon to this. Thanks, R
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following