Bluetooth Synchronization Interchanges Supervisor/Interviewer Logins

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
bmuganda
Posts: 37
Joined: January 18th, 2018, 11:57 am

Bluetooth Synchronization Interchanges Supervisor/Interviewer Logins

Post by bmuganda »

Hi all,
I have implemented the a login menu with supervisor and Interviewer synchronization via bluetooth. However, after synchronization, the supervisor device is logged out and logged in as interviewer. Same case happens to interviewer device.

How do i prevent this scenario happening every time.

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

Re: Bluetooth Synchronization Interchanges Supervisor/Interviewer Logins

Post by josh »

Sounds like maybe you are synchronizing the data file that you store the login in. Try not synchronizing that file. If that isn't the problem you will need to share your program with us so we can see.
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Bluetooth Synchronization Interchanges Supervisor/Interviewer Logins

Post by josh »

This isn't a synchronization problem. It is just a problem in your menu program. After calling syncWithSupervisor() in the INTERVIEWER_MAIN_MENU proc you need to do

Code: Select all

reenter INTERVIEWER_MAIN_MENU
to go back to show the menu again. If you don't do that then CSPro moves to the next field in the form which is the supervisor menu. You can add the line

Code: Select all

reenter INTERVIEWER_MAIN_MENU
at the end of the INTERVIEWER_MAIN_MENU proc so that no matter what they choose, you always return to the menu afterwards. You probably need the same for the supervisor menu too.
bmuganda
Posts: 37
Joined: January 18th, 2018, 11:57 am

Re: Bluetooth Synchronization Interchanges Supervisor/Interviewer Logins

Post by bmuganda »

Yea sure, that worked like charm!!!

Thanks alot
Post Reply