Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Check if the import worked - search for one of the people.

Code Block
   string col = c.ToLower();
                if (col.Contains("first")) iFirstName = i;
                else if (col.Contains("last")) iLastName = i;
                else if (col.Contains("company")) iCompany = i;
                else if (col == "title") iTitle = i;
                else if (col == "notes") iNotes = i;
                else if (col == "street") addr1 = i;
                else if (col == "street2") addr2 = i;
                else if (col == "suburb") suburb = i;
                else if (col == "state") state = i;
                else if (col == "country") country = i;
                else if (col == "postcode") postcode = i;
                else if (col == "email") iEmail = i;
                else if (col == "mobile") iMobile = i;
                else if (col == "phone") iPhone = i;
                else if (col == "gender") iGender = i;
                else if (col == "xref") ixref = i;


Companies Next (Suppliers separately to Customers)

...