| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > FieldPairsClass > FieldPairsClass Methods >====== ClearLeft (clear each "left" field) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[assignrighttoleft copy from right fields to left fields .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[clearright clear each right field .htm|{{btn_next_n.gif|Next page}}]] | | || **ClearLeft** {{blk2blue.jpg|blk2blue.jpg}} The **ClearLeft **method clears the contents of each "left" field in the List property. **Implementation:** For AddPair pairs, the "left" field is the field whose label is the //first //(left) parameter of the AddPair method; the "right" field is the field whose label is the //second //(right) parameter of the AddPair method. For AddItem pairs, the "left" field is the field whose label is the //only //parameter of the AddItem method. The "right" field is the FieldPairs supplied copy of the "left" field. The ClearLeft** **method CLEARs the field. See the //Language Reference// for more information on [[clear clear a variable .htm|CLEAR]]. **Example:** ** Fields &= NEW FieldPairsClass           !instantiate FieldPairs object** ** Fields.Init                             !initialize FieldPairs object** ** Fields.AddPair(CUST:CustNo,CustQ.CustNo)!establish CustNo pair** ** Fields.AddPair(CUST:Name,CustQ.Name)    !establish Name pair** ** Fields.AddPair(CUST:Phone,CustQ.Phone)  !establish Phone pair** ** Fields.AddPair(CUST:ZIP,CustQ.ZIP)      !establish ZIP pair** ** !some code** ** IF LocalRequest = InsertRecord** **  Fields.ClearRight             !clear the CustQ fields to blank or zero** ** END** **See Also:**     __AddPair__AddPair__add_a_field_pair_FieldPairsClass_, __AddItem__AddItem___add_a_field_pair_from_one_source_field_, [[list recognized field pairs .htm|List]]