Hello all,
When displaying a sharepoint record in a form ; I'm trying to display the ID of my selected record in a field but I always get the id number of my previous choice ! ? Here's the situation :
On the 'OnView' of my sharepointIntegration element ; i've the following instructions
Set(varFormMode; FormMode.View);;
Set(varFormItem;SharePointIntegration.Selected)
On the item value of my sharepointForm element ; I've the following :
SharePointIntegration.Selected
In my SharepointForm, I've a field with the followed defined value :
varFormItem.ID
Now, when I selected a record in my sharepoint list, for example the blue record here above. I expected to have the ID 53 in my field VarFormItem


I then select another record ; let's say the one with the ID 54 (Information rentrée) and here's what I get (ID 53 of the previous selected record) :

So I'm always 1 record 'late' when displaying the id of the selected record.
do you know why I get this behaviour ?
Thanks to al all for your help