Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Reuse Cursor Name
Message
From
30/09/2005 14:56:02
 
 
To
30/09/2005 14:38:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01054734
Message ID:
01055026
Views:
24
It was initially
SELECT UniqueID,PassCode,DupCode,Priority,CNT(*) as GroupCount ;
	FROM crsMatchResults ;
	INTO CURSOR crsMatchResults ;
	GROUP BY UniqueID,PassCode,DupCode,Priority ;
        HAVING GroupCount>1
	READWRITE NOFILTER
but I've played with it a little trying to get it to work.

Aloha,

James

>Here's the actual commands:
>
>
>*!* Then try to SELECT with only the fields required in the output cursor
>SELECT UniqueID,PassCode,DupCode,Priority ;
>	FROM crsMatchResults ;
>	INTO CURSOR crsMatchResults ;
>	GROUP BY UniqueID,PassCode,DupCode,Priority ;
>	READWRITE NOFILTER
>

>
>Am I missing something here? Why are you using a GROUP BY clause? I do not see any aggregate field in the SELECT field list.
Previous
Reply
Map
View

Click here to load this message in the networking platform