Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

How to count the duplicated lines in VFP ?

Hi Experts !

Could you explain a way to count duplicated lines at a VFP table. I'm using the code below but it doesn't work.
 
select sb_disp, count(sb_disp) as count;
	from DISP_PUB;
	WHERE count(sb_disp) >1;
	group by sb_disp;
	order by sb_disp desc;
	into cursor t_disp

Open in new window


(Error: File 'count.prg' does not exist

Thanks in advance !
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Eduardo Fuerte

ASKER

Perfect.