I have a dropdown list where you can select a item. Then I have a textbox where more details are showed from the drop down box
The label with the name: ShowMoreDetailsAddress. And in that textbox I wan to have returned three values from records:
-LocLocationtClientMethod.Address
-LocLocationtClientMethod.“Post Code”
-LocLocationtClientMethod.City
this is the code of the dropdown list:
LocLocationtClientMethod.RESET();
LocLocationtClientMethod.SETRANGE(LocLocationtClientMethod.“Customer No.”, RecCust.“No.”);
FrmLocationClientMethod.SETTABLEVIEW(LocLocationtClientMethod);
FrmLocationClientMethod.LOOKUPMODE(TRUE);
IF FrmLocationClientMethod.RUNMODAL = ACTION::LookupOK THEN BEGIN
FrmLocationClientMethod.GETRECORD(LocLocationtClientMethod);
RecordPickupLocationClient.Code := LocLocationtClientMethod.Code;
RecSalesHeader.“Ship-to Address” := LocLocationtClientMethod.Address;
RecSalesHeader.“Ship-to Post Code” := LocLocationtClientMethod.“Post Code”;
RecSalesHeader.“Ship-to City” := LocLocationtClientMethod.City;
//CurrForm.ShowMoreDetailsAddress.UPDATE(LocLocationtClientMethod.Address);
CurrForm.txtShowMoreDetails = (LocLocationtClientMethod.Address);// := LocLocationtClientMethod.Address;
and this is the name of textbox CurrForm.txtShowMoreDetails
END;
//END;
CurrForm.UPDATE;
But how to show the three values in de label?
Thank you