How to use property of method in other control

Hi,

I have a method like this:

FncLookupLocationClientMethod() SelectionFilter : Code[80]

in that method I have a line like this:

showmoreDetailsAddress := 'plaats: ’ + LocLocationtClientMethod.City + ‘’ +
'post code: ’ + LocLocationtClientMethod.“Post Code” + ‘’ +
'adres: ’ + LocLocationtClientMethod.Address + ‘’ +
'mobiel.nr: ’ + LocLocationtClientMethod.“Mobile No.”;

I also have a dropdownbox, like this:

dropdownBestaandAflever - OnActivate().

in that dropdownbox I want to use the line:

showmoreDetailsAddress := 'plaats: ’ + LocLocationtClientMethod.City + ‘’ +
'post code: ’ + LocLocationtClientMethod.“Post Code” + ‘’ +
'adres: ’ + LocLocationtClientMethod.Address + ‘’ +
'mobiel.nr: ’ + LocLocationtClientMethod.“Mobile No.”;

I try it like this:

just for example I try it only with the city propertie:

FncLookupLocationClientMethod().LocLocationtClientMethod.City;

But this doesnt work.

So how to use the properties of the method in a control?

Thank you