Coding in reports

I am new to programming and C/Side and want to write a report to look in a table and print the results, where the first or last records of a field in the table are of code X ! (if that makes sense?) – so I don’t want to do a filter on the table on Code X as this will bring up all results, I’m just after the first and last records thanks

Hi Chris, do a Filter on your Table for Code X, and then you get the first Record with Rec.FIND(’-’) and the the last with Rec.FIND(’+’). You could print this in an Integer DataItem, that you loop through twice, for example. regards Daniel Zimmermann