March 8, 200619 yr I have a customer and I have a portal showing the contacts associated with the customer. The portal works on a relationship based on customer id. The portal is scrollable as there are many contacts. The relationship is set to allow creation of new contacts in the portal. Everthing fine so far. I have a 'use' button in each portal row. The purpose of this button is to set a field in the main record with the contact name from the portal. That is not a problem as long as the contact exists. A simple Setfield(main::contact;portal::contactname) does the trick. I hit problems however if the contact is a new one. If I do not leave the field in the portal before I click the button then the info does not go across, I assume because the record is not committed. If I do leave the field in the portal before clicking the button the portal resorts itself as it should and I have to scroll around to find my new contact. Can anyone help me to get this info across before the portal resorts itself. Thanks in advance Phil
Create an account or sign in to comment