in my meaning you need a DISTINCT like under sql. so you can store the data, before viewing, in a tempTable and show than the temp.Table
But, other question: why do you store the data in this style :?: I think here the "Number" is your Primary Key. Why not the Code :?: Whats the reason :?:
This "Disctinct" problem is because the data are not normalized. Best is to have separate table where you will add the code each time you create some new entry and the code doesn't exists. Than you can make form over this table and you are done.
It means that you have table with "who enters" but you have second table "People" where you have list all names who ever entered...
Comments
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
rec.SETFILTER(code,'%1|%2|%3','AAAA','BBBB','CCCC');
On Form:
Field | Filter
Code | AAAA|BBBB|CCCC
[-X
i think he means one line for each code,
like a "SELECT DISTINCT" in sql...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
if i have table "who is entering the building" (for example) and i have
john
adam
adam
adam
john
maria
maria
john
in the table could be milion records but only 5 names and i want to show me only uniques records ...
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
But, other question: why do you store the data in this style :?: I think here the "Number" is your Primary Key. Why not the Code :?: Whats the reason :?:
It means that you have table with "who enters" but you have second table "People" where you have list all names who ever entered...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
If first record = second record
if john = adam ... :?: :-k