F fanfalveto Active Member Licensed User Longtime User Dec 7, 2012 #1 I try this with library fgcontacts Code: Copy Dim fgContacts1 As fgContacts Dim fgContact1 As fgContact Dim listOfContacts As List fgContacts1.Initialize listOfContacts.Initialize listOfContacts=fgContacts1.GetAllContacts(True, False) For i = 0 To listOfContacts.Size - 1 fgContact1=listOfContacts.Get(i) Log(fgContact1) Next and i can´t see the contacts. Also i try with Code: Copy Dim c As Contact Dim cs As Contacts2 Dim l As List l = cs.GetAll(False,False) For i = 0 To l.Size - 1 c = l.Get(i) Log(c) Next and don´t work. Sure i do somethirng wrong but yerterday and today i read the forum and i don´t know. Please can you help me? Thanks
I try this with library fgcontacts Code: Copy Dim fgContacts1 As fgContacts Dim fgContact1 As fgContact Dim listOfContacts As List fgContacts1.Initialize listOfContacts.Initialize listOfContacts=fgContacts1.GetAllContacts(True, False) For i = 0 To listOfContacts.Size - 1 fgContact1=listOfContacts.Get(i) Log(fgContact1) Next and i can´t see the contacts. Also i try with Code: Copy Dim c As Contact Dim cs As Contacts2 Dim l As List l = cs.GetAll(False,False) For i = 0 To l.Size - 1 c = l.Get(i) Log(c) Next and don´t work. Sure i do somethirng wrong but yerterday and today i read the forum and i don´t know. Please can you help me? Thanks
margret Well-Known Member Licensed User Longtime User Dec 7, 2012 #2 Try this code and see what it logs and shows in the List: Code: Copy Dim fgContacts1 As fgContacts Dim listOfContacts As List fgContacts1.Initialize listOfContacts.Initialize listOfContacts = fgContacts1.GetAllContacts(True, False) Log(listOfContacts.Size) InputList(listOfContacts, "Contacts", -1) Upvote 0
Try this code and see what it logs and shows in the List: Code: Copy Dim fgContacts1 As fgContacts Dim listOfContacts As List fgContacts1.Initialize listOfContacts.Initialize listOfContacts = fgContacts1.GetAllContacts(True, False) Log(listOfContacts.Size) InputList(listOfContacts, "Contacts", -1)
F fanfalveto Active Member Licensed User Longtime User Dec 7, 2012 #3 log error with this code Code: Copy at fg.Contacts.FgContacts.GetPhoneNumberByID(FgContacts.java:142) i do that in and now runs ok Code: Copy Dim c As Contact Dim cs As Contacts2 Dim l As List l = cs.GetAll(False,False) For i = 0 To l.Size - 1 c = l.Get(i) Log(c) Next i put this code in another sub and now work. tahnk you Upvote 0
log error with this code Code: Copy at fg.Contacts.FgContacts.GetPhoneNumberByID(FgContacts.java:142) i do that in and now runs ok Code: Copy Dim c As Contact Dim cs As Contacts2 Dim l As List l = cs.GetAll(False,False) For i = 0 To l.Size - 1 c = l.Get(i) Log(c) Next i put this code in another sub and now work. tahnk you