Hi,
I’m wanting to make a variable which will hold the Rowcode value of the row in the roster which satisfies a certain condition. When I try to do this using a LINQ expresion. e.g. ROSTERNAME.FirstOrDefualt - I receive an error "cannot implicitly convert type… "
I’m using a long integer for the variable type because I thought this would return the row number… Just to note the rest of my syntax is fine because if I replace ‘FirstOrDefault’ with ‘Count’ then it’s working just fine.
Anyone have any experience getting a LINQ FirstOrDefaul to work correctly?
Thanks!
Lachlan