Usually I’m having no trouble saving changes I made to an ABPersonMBS. But for 
some reason the Addressbook doesn’t acknowledge changes I made to a person I 
obtained from the peoplepicker. So this code (a slightly changed version of the 
Addressbook Picker example project):

  dim ca() as ABRecordMBS = p.SelectedRecords//here I pick a record, p is a 
ABPickerMBS
  
  if UBound(ca)<0 then
    MsgBox "Please select a person first!"
  else
    dim ap as ABPersonMBS = ABPersonMBS(ca(0))
    
    if ap.setvalue("newFirstName!",a.kABFirstNameProperty) =false then
      break
    end if
//this seems to work,

    if a.hasUnsavedChanges then
      break  //this is where I would like to be, but a.hasUnsavedChanges keeps 
returning false
    end if
  end if

…informs me that my changes went beneath the radar of a (the windows 
AddressbookMBS). What might be up there?

I’m using the 14.3 plugins under Yosemite.

Maximilian Tyrtania
http://www.contactking.de

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to