Hello. Is there any way I can do this?
Users have the choice of printing out a particular letter to any number or combination of around 50 individuals. They select who they want to send to from a list and this enters the codes for all the people into a table - along with the code of the particular letter they are to send. The data in the SQL table looks like this :
LETTERID SEND_TO
34 sfd231, 13342nkj, 25knlnl, 345trkml, etet343
67 fdsf44, 453mfmsd, 5klmlk4
etc.
But when I come to prepare the letters (with correct addresses etc.) I'm not sure how loop it. I am used to using movenext and while not eof but not sure if I can loop within a particular record. Is there anyway I can make the page loop through all the codes separated by commas? If not, I am open to redesigning the table if anyone can help? Thankyou much
Sarah
Users have the choice of printing out a particular letter to any number or combination of around 50 individuals. They select who they want to send to from a list and this enters the codes for all the people into a table - along with the code of the particular letter they are to send. The data in the SQL table looks like this :
LETTERID SEND_TO
34 sfd231, 13342nkj, 25knlnl, 345trkml, etet343
67 fdsf44, 453mfmsd, 5klmlk4
etc.
But when I come to prepare the letters (with correct addresses etc.) I'm not sure how loop it. I am used to using movenext and while not eof but not sure if I can loop within a particular record. Is there anyway I can make the page loop through all the codes separated by commas? If not, I am open to redesigning the table if anyone can help? Thankyou much
Sarah