I'm trying to place one of about ten detail line items into a shared variable but I am having trouble coding the logic for this. I have no problem with individual fields but with detail lines i am having issues. Sorry I would research myself but I elft my book at home lol.

This what i think the logic should be like.... it does not error but it does not work either.....

if {IncidentsPerSplit.CClientName} = "Yada yada Yada" then
WhilePrintingRecords;
Shared numberVar yada001 := {IncidentsPerSplitCountOfTicket}

Sorry for the bother!