PC: Populating the grid by clicking push button

Local string &Where_Clause, &Prior_Condition_Exist; &Where_Clause = "WHERE "; &Prior_Condition_Exist = "N"; If All(CES_FA_CINB_WRK.EMPLID) Then REM &Where_Clause = "WHERE EMPLID = " | "'" | CES_FA_CINB_WRK.EMPLID | "'"; &Where_Clause = &Where_Clause | " EMPLID = " | "'" | CES_FA_CINB_WRK.EMPLID | "'"; &Prior_Condition_Exist = "Y"; End-If; If All(CES_FA_CINB_WRK.SSN) Then If &Prior_Condition_Exist = "Y" Then &Where_Clause = &Where_Clause | " AND SSN = " | "'" | CES_FA_CINB_WRK.SSN | "'"; Else &Where_Clause = &Where_Clause | " SSN = " | "'" | CES_FA_CINB_WRK.SSN | "'"; &Prior_Condition_Exist = "Y"; End-If; End-If; If All(CES_FA_CINB_WRK.CES_FA_CSAC_ID) Then If &...