A
Andy248
Guest
Hi,
I'm trying to get a table that has fields - Name, subject, Teacher, Comment (where each pupil could have 10 or more reports) into another table which has Name, subject1, comment1, teacher1, subject2, comment2 teacher2 etc so I can export this into a word template. Trouble is my vba code will do about 2/3rds of the reports i.e not all the reports in table one get imported into table 2. All the comment fields are memo's. Here's my code so far - yes you guessed I don't do VBA for a living! I though it was due to tabs and quotes in the memo fields but I think I've taken those out. Could some kind soul take a look at my code and see where I've gone wrong.
Many thanks in anticipation.
Andy
I'm trying to get a table that has fields - Name, subject, Teacher, Comment (where each pupil could have 10 or more reports) into another table which has Name, subject1, comment1, teacher1, subject2, comment2 teacher2 etc so I can export this into a word template. Trouble is my vba code will do about 2/3rds of the reports i.e not all the reports in table one get imported into table 2. All the comment fields are memo's. Here's my code so far - yes you guessed I don't do VBA for a living! I though it was due to tabs and quotes in the memo fields but I think I've taken those out. Could some kind soul take a look at my code and see where I've gone wrong.
Many thanks in anticipation.
Andy