Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function name is missing
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
00957526
Message ID:
00957531
Views:
17
This message has been marked as the solution to the initial question of the thread.
Remove ORDER BY in Your SubQuery:
SET ENGINEBEHAVIOR 80
SELECT COUNT( RECNO() ),;
       e.iid FROM (AMLINE!Resident AS 'R';
 LEFT OUTER JOIN AMLINE!Etats AS 'E' ON R.iid = e.iresidentid );
 WHERE e.iid IN ( SELECT B.iid FROM AMLINE!Etats AS 'B' WHERE B.iresidentid = E.iresidentId GROUP BY B.iid)
>Hi all,
>
>I have a error 1300 in my sql command.
>Function name is missing
>
>
>I do'nt see what happend..
>5VFP 8.1 SET BEHA 80
>
>
>SET ENGINEBEHAVIOR 80
> SELECT COUNT( RECNO() )  , e.iid FROM (AMLINE!Resident AS 'R';
>    LEFT OUTER JOIN AMLINE!Etats AS 'E' ON R.iid = e.iresidentid ) WHERE ;
>    e.iid IN ( SELECT B.iid FROM AMLINE!Etats AS 'B' WHERE B.iresidentid = E.iresidentId GROUP BY B.iid ORDER BY B.iid )
>
>
>
>Thank in advance for help
>
>bernhart
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform