chok120
06-25-2007, 11:07 PM
Hello
How can I assign each row of a report to a string field to make up a body text variable?
The following code only gives me the last record's details ( name and adress).
strBodyText = name1 & " " & address
I need to create a variable with all the preceding records included as well
Do I need a For loop? And how should it be structured - I only have two fields in the report Name1 and address.
Thanks
Yash
How can I assign each row of a report to a string field to make up a body text variable?
The following code only gives me the last record's details ( name and adress).
strBodyText = name1 & " " & address
I need to create a variable with all the preceding records included as well
Do I need a For loop? And how should it be structured - I only have two fields in the report Name1 and address.
Thanks
Yash