Issue about the duplicates…
Hi,
Strange thing about the duplicates.
I use a script to display the duplicates.
I do not get the right numbers of originals : 16 instead of 41 !
What can explain such an error ?
Thanks.
10 replies
-
I think I get it.
What I want is to display words displayed only one time in a list
If I use a script a script to find the duplicates it will show the words that have been entered more than one time but it will not work for words entered only one time.
So I should use an other function.
But wich one ?
Thanks
-
Please post the code you are using.
-
Hi Fred.
I have 2 of them :
1)
let myV := Ordre;
if cnt(select 'Ajouts familles-Tableau 1'where Ordre = myV) > 1 then
"Duplicate"
else
null
end
2)
let myV := Ordre;
if cnt(select 'Ajouts familles-Tableau 1'where Ordre = myV) > 1 then
"Duplicate"
else
"no duplicate"
end
-
You say you want a script to put the text "duplicate" in records that have a count of 1 when Ordre = myV?
What happens when if you change your greater than (>) to equals (=)?
-
I tried this script :
let myV := Ordre;
if cnt(select 'Oiseaux famille genres espéces' where Ordre = myV)=1then
"Duplicate"
else
I get this error :
"A table has not been found Oiseaux famille genres espéces on the line 2, column 52"
-
-
Hi Fred,
I have not found why this script has this error…very strange.
So I tried the modification with another base
Always curious, but better…
-With "> 1" in the script I got 16 names alone.
-With "= 1" in the script this time I get 29 names alone.
It's better but why 40 is not found ?
-
That is a weird error as the table name looks correct.
I can't say why you found what you found as I don't have your data to look at.
-
Thanks Fred.
Would it be possible to send you my database ?
-
If you have the online version you can add me as a user. Now how to pass along my email address without putting it on this site. If you on FaceBook, did you happen to join one of the Ninox groups?
Content aside
- 3 yrs agoLast active
- 10Replies
- 571Views