HI I need to change company for just 2 companies:
while select DataArea from companyInfo where companyInfo.DataArea == Company1 || companyInfo.DataArea == Company2 { changecompany(companyInfo.DataArea) }
Is there a better way?
I'm not sure of your goal, but if you just want to find record you can user a firstonly and then change company
select firstonly from companyInfo where companyInfo.DataArea == Company1 || companyInfo.DataArea == Company2 if (companyInfo) { changecompany(companyInfo.DataArea) }
I thought there was some pre-existing functionality that handles multiple companies, but I was probably confusing it the cross-company.
:)
Better in what respect? What problem do you have with this solution?
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156