Problem with selcase function in csentry 7.1

Discussions about creating CAPI applications to run on Android devices
copernix2
Posts: 14
Joined: November 23rd, 2014, 7:46 am

Problem with selcase function in csentry 7.1

Postby copernix2 » November 23rd, 2017, 5:49 am

the selcase function does'nt work in mobile app

josh
Posts: 1634
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Problem with selcase function in csentry 7.1

Postby josh » November 23rd, 2017, 7:09 am

Can you post an example of an application where it fails? It is working correctly in my tests.

copernix2
Posts: 14
Joined: November 23rd, 2014, 7:46 am

Re: Problem with selcase function in csentry 7.1

Postby copernix2 » November 23rd, 2017, 7:18 am

his my program. I shift in 6.3 now and i do some modification and it work parfectly
Attachments
RGA_enqueteur.rar
(368.97 KiB) Downloaded 26 times

josh
Posts: 1634
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Problem with selcase function in csentry 7.1

Postby josh » November 24th, 2017, 7:34 am

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.


Return to “Android”