Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subquery is Invalid
Message
From
09/09/2005 13:04:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Subquery is Invalid
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01048192
Message ID:
01048192
Views:
71
Hi, All
I am having a brain cramp today , again. I am getting the above message on the following sql select statement. I had it in debug mode, and every table field had a value to it, be it blank or with the correct data. None of them were not found.
  SELECT tsks.clientid, tsks.prjnum, tsks.comp_num, ;
    tsks.task_num, "1" AS adj_num FROM tsks ;
    WHERE tsks.clientid + tsks.prjnum + tsks.comp_num NOT IN ;
    (SELECT DISTINCT adnt.clientid + adnt.prjnum, ;
    adnt.comp_num, adnt.task_num FROM adnt) ;
    INTO CURSOR ctsks
TIA
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform