selcase, include error

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Enkhbayar
Posts: 68
Joined: November 10th, 2014, 11:48 pm

selcase, include error

Post by Enkhbayar »

When I try to include section in selcase I had faced error. does anyone know what is the reason?

code is:
dist1="0101";
selcase(SECTOR_DICT,dist1) include(sec_name) ;

$=SEC_ID;

it returns the error: ERROR: Selcase can only include Single variables of same Dict near line 5 in CODE1 procedure
Last edited by Enkhbayar on January 5th, 2017, 7:53 am, edited 1 time in total.
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: selcase, include error

Post by khurshid.arshad »

Dear Enkhbayar

Max number of lines should be "1" in External dictionary. For reference see attached file. If Max lines is more than "1" then you will get this error message.
a.
Enkhbayar
Posts: 68
Joined: November 10th, 2014, 11:48 pm

Re: selcase, include error

Post by Enkhbayar »

thanks a lot Khurshid
Post Reply