Page 1 of 1

Problem with selcase function in csentry 7.1

Posted: November 23rd, 2017, 5:49 am
by copernix2
the selcase function does'nt work in mobile app

Re: Problem with selcase function in csentry 7.1

Posted: November 23rd, 2017, 7:09 am
by josh
Can you post an example of an application where it fails? It is working correctly in my tests.

Re: Problem with selcase function in csentry 7.1

Posted: November 23rd, 2017, 7:18 am
by copernix2
his my program. I shift in 6.3 now and i do some modification and it work parfectly

Re: Problem with selcase function in csentry 7.1

Posted: November 24th, 2017, 7:34 am
by josh
I can't actually test your app since I don't know the login code but try removing the open/close of the dictionaries you are using for selcase. In CSPro 7 the behavior of functions that use external dictionaries such as loadcase and selcase changed. In older versions if a dictionary had been closed and you called loadcase or selcase it would automatically reopen it. In CSPro 7 that is no longer the case. In general you really should never need to open or close a dictionary. I have never found the need to use it. Use setfile() to change the data file associated with a dictionary and just leave it open after that.