+ Reply to Thread
Page 5 of 5 FirstFirst ... 345
Results 41 to 42 of 42
This is a discussion on Salesforce Code Example #1 within the Salesforce PHP Tutorials forums, part of the Salesforce category; Sorry for monopolizing your thread lately... After putzing around with the code
  1. #41
    nil_von_9wo is offline Junior Member
    Join Date
    Aug 2009
    Posts
    10
    Sorry for monopolizing your thread lately...

    After putzing around with the code some more, I came to realize the code does work if and only if:

    1. There are at least two entries in the database
    2. I don't try to create or modify Address or LookUp fields.


    I've figured out why the first of these is true, though I haven't worked out a fix yet (I don't expect it should be a common problem): If there is only one row of data,
    PHP Code:
    foreach($results as $result
    tries to handle each field as a separate row.

    So, that said, three questions now remain:

    1. How do I modify the script to check if there is only one row?
    2. How do I insert or update Address fields?
    3. How do I insert or update Lookup fields?

  2. #42
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Brian,

    I received your questions. I am really busy right now, give me 24-48 hours to take a look, sorry I am trying to meet a deadline


    ~Mike

+ Reply to Thread
Page 5 of 5 FirstFirst ... 345

LinkBacks (?)

  1. Hits: 3
    12-03-2009, 12:47 PM
  2. Hits: 104
    09-25-2009, 09:57 AM
  3. Hits: 54
    03-16-2009, 03:47 AM
  4. Hits: 1
    11-16-2007, 04:10 PM
  5. Hits: 1
    05-18-2007, 10:46 PM
  6. Hits: 1
    05-18-2007, 01:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.2