Skip to Content
0
Dec 09, 2011 at 04:51 AM

Contact Create address Selection

35 Views

Hi,

In my requirement, we have added a F4 view for address selection.

i.e.

1. When we create contact, select Account, the Addess(I have added Zfield) gets active with a F4.

2. When we do F4, a window opens with addresses.

3. When we select address, it gets populated in Address field.

4. Without saving, when I select once again address, come back and do SAVE, it saves the 2nd address.

But when I log out and log in. Open the contact created above, it displays the 1st address I had selected, not the 2nd one that I selected and saved.

I have written the following code in my on_close event:

It seems like when it sets value for the attributes, 1st time, not getting updated for 2nd time. It only displays the value when we save it, as Address is a Z attribute. And when we log out and log in the 1st address gets active and displays in my field.Please help.

Edited by: Ginger on Dec 9, 2011 10:22 AM