originalxavier
Programmer
Hello all,
I have a form and a subform. The form just has a person's name and contact information. The subform has the equipment that is assigned to them. What I would like to do is pass all of the data in the subform out to an unbound text box so that it can be stored for encryption.
So I have four fields with an undetermined number of records since all the users have different equipment. My question is this: How can I pass the data from the subform into the unbound text box? I am pretty sure that it will have something to do with a "For Next" loop or something along those lines... But I am drawing a blank.
Example:
As you can see this would be great for one line, but there can be one, two, or twenty lines...
All suggestions are appreciated.
Thanks in advance!
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rick Cook
----------------------------------------
I have a form and a subform. The form just has a person's name and contact information. The subform has the equipment that is assigned to them. What I would like to do is pass all of the data in the subform out to an unbound text box so that it can be stored for encryption.
So I have four fields with an undetermined number of records since all the users have different equipment. My question is this: How can I pass the data from the subform into the unbound text box? I am pretty sure that it will have something to do with a "For Next" loop or something along those lines... But I am drawing a blank.
Example:
Code:
Dim UunboundTtextBox as String
UnboundTextBox = Text1 & Text2 & Text3 & Text4
As you can see this would be great for one line, but there can be one, two, or twenty lines...
All suggestions are appreciated.
Thanks in advance!
Xavier
----------------------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning."
Rick Cook
----------------------------------------