Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select different in VFP6?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Select different in VFP6?
Miscellaneous
Thread ID:
00129159
Message ID:
00129159
Views:
46
The following code produces an error in VFP6, but not in VFP5:

SELECT submits.specno+"-"+submits.submno AS Index, LEFT(submits.descript,50) AS Description,;
0 AS statusno, {} AS datercvd;
FROM submits ;
WHERE Submits.ProjNo = mbhProjNo;
AND Submits.ProjNo+Submits.SpecNo+'-'+Submits.Submno NOT IN ;
(SELECT History.ProjectNo + History.SubmitNo FROM History) ;

ORDER BY 1, 4;
GROUP BY 1;
INTO CURSOR step1

It appears to be coming from the 'NOT IN' section which should be highlighted above. Is there something new in SQL which is tripping me up?

TIA
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Next
Reply
Map
View

Click here to load this message in the networking platform