{
Boolean syncAsPrivate = (Boolean)syncForm.get("syncAsPrivate");
String prefValue = (syncAsPrivate != null && syncAsPrivate.booleanValue() == true) ? "YES" : "NO";
PreferenceHome home = (PreferenceHome)CVUtility.getHomeObject("com.centraview.preference.PreferenceHome", "Preference");
Preference remote = home.create();
remote.setDataSource(dataSource);
int recordsChanged = remote.updateSyncAsPrivatePref(individualID, prefValue);
// if we successfully updated the preference in the database, now