Showing results for 
Search instead for 
Do you mean 

Retrieve column

Tuned Listener
Posts: 8
Country: United_Kingdom

Retrieve column

Hi everybody,


It's just a quick question, I've got this code:


    CompanyFieldDescriptor compField = ACTFM.Companies.GetCompanyFieldDescriptor("TBL_COMPANY.CATEGORY", true);
          CompanyLookup ACTLookup = ACTFM.Lookups.LookupCompaniesReplace(ValueEnum.Nothing, OperatorEnum.ContainsData, compField);
                  CompanyList ACTList = ACTLookup.GetCompanies(null);

            if (ACTList.Count > 0)
                for (int i = 0; i < ACTList.Count; i++)


I was wondering how in the CompanyList I could get a different column. So at the moment it returns the company name, instead I want it to return the category names.