Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing
Message
From
05/07/2001 14:57:50
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00523261
Message ID:
00527128
Views:
21
Hi Nadya,

Having a problem here with your code. The select doesn't fire off and gives me the invalid command error... here's what i have...

FOR i=1 to m.lnFields
IF !INLIST(FIELD(I), "PROJNO", "COMMENTS", "UNIQKEYSAS", "UNIQKEYBAY", ;
"YEAR", "NEWREC", "DISPUTE", "PRO_DATE", "DRAWDATE" )
lcGroupBy=m.lcGroupBy+field(m.i)+iif(m.i=m.lnFields,'',',')
ENDIF
ENDFOR

select *, count(*) as cntDups ;
from tmpdbf ;
group by &lcGroupBy ;
having cntDups>=2 ;
into cursor curDups

isduprec = .t.
Thanks in Advance.

J. Turner
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform