Lookup filtering by geocode

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Leonard
Posts: 4
Joined: June 9th, 2021, 10:58 am

Lookup filtering by geocode

Post by Leonard »

Hello team
Help me here; I have a lookingup file which i want to call and need to show crop codes from lookup as value sets so that an enumerator will be guided according to a specific geocode. Each farm can grow different crops from each other and i have these crops on lookup by farmer (Geocode).

If i try to use Setvaluest, the program is calling every crops without filtering by geocode. Help me to overcome this.

thank you in advance
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Lookup filtering by geocode

Post by aaronw »

To do this you'll need to know how to do two things 1) load a case (from the lookup file) into memory 2) create a dynamic value set with this data.

Take a look at these helps. Once you understand these concepts your task will be straightforward.

loadcase: https://www.csprousers.org/help/CSPro/l ... ction.html
ValueSet Object: https://www.csprousers.org/help/CSPro/valueset.html
Post Reply