Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What may be a problem here?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
What may be a problem here?
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01534642
Message ID:
01534642
Vues:
118
Hi everybody,

This query gives me the error 'Unrecognized command/keyword' but I don't see whay may be wrong here
           SELECT ALLTRIM(T1.Value_Name) + ', ' + ALLTRIM(T2.Value_Name) as Descrip ;
		   FROM (SELECT tmpl.Value_name, tmpl.hidden, tmpl.atname_id ;
		   FROM i_tmplat tmpl ;
		   INNER JOIN i_tmpnam tmp ON tmpl.tmpnam_id = tmp.tmpnam_id AND tmpl.atname_id = tmp.prim_axis ;
		   WHERE tmpl.tmpnam_id = m.lnTmpl_ID) T1 ;
		   CROSS JOIN i_tmplat T2 WHERE T2.tmpnam_id = m.lnTmpl_ID AND T1.hidden = .f. ;
		   AND T2.hidden = .f. AND T2.atname_id <> T1.atname_id INTO CURSOR csrTmplInfo
Thanks in advance.

UPDATE. Replacing CROSS JOIN with just a comma fixed the problem.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform