GetCertificationCode ReturnText := '' ; Certificaion.SETRANGE( "Contract No.", "No." ) ; IF Certificaion.FINDFIRST() THEN REPEAT ReturnText += SaleCertificaion."Certifier Code" + ' / '; UNTIL SaleCertificaion.NEXT = 0 ; IF ReturnText <> '' THEN ReturnText := COPYSTR( ReturnText , 1 , STRLEN( ReturnText) - 2 ) ; EXIT( ReturnText ) ;I have a form ( SourceTable = Contract ) where I need to filter by certification. As you can see above, certification is not a field of Contract table. I only have the function that returns the certification code from other table.
Comments