@Unique() and the tabbed table

Hello,I’m using @Unique() in a xpage wich contain a tabbed table,the problem is each time i change the tab,i got a different value in that field.How can i stop that?

Thanks in advance.

Subject: Use an IF ?

I’ve never used xpages, but for a formula, I’d use …

@If( field =“” ; @Unique ; field)