Using the SlxApplication object you can invoke a lookup as follows:
SalesLogix.Link lookup = slx.BasicFunctions.LookupItemWithConditionByID("Contact:LastName", true, "Email", email, "=", ""); if (lookup != null) { MessageBox.Show("Selected contact with ID: " + lookup.ID); }
Make sense? |