Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select
Message
 
À
18/08/2009 07:53:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Select
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01418618
Message ID:
01418620
Vues:
54
HI Mohammed,

Because MyCur and MyCur2 is name of cursor/alias... not expression.
lcMYcur="MyCur" && expression

...
(lcMYcur) TAlias1, MYcur2 TAlias2 ;
...
MartinaJ

>hi all,
>i try to run this code below , i get error message mycur,mycur2 not found
>
>if i change the cursor to table it works
>
>
>SELECT c as  name1,d as title1,e as dept,h as office  FROM ad INTO cursor MYcur
>
>
>thisform.text1.Value=""
>thisform.text1.Value=GETFILE('xls')
>IMPORT FROM (thisform.text1.value)  TYPE XL8 
>SELECT b as  name1,c as job  FROM emp_report INTO cursor MYcur2
>
>
>SELECT  TAlias1.name1,TAlias1.title1,TAlias1.dept,TAlias1.office,TAlias2.job FROM MYcur TAlias1, MYcur2 TAlias2 ;
>**i try as (MYcur) TAlias1, (MYcur2) TAlias2 ;&&not work
>        WHERE  ALLTRIM(TAlias1.name1) = ALLTRIM(TAlias2.name1);     
>                        ORDER BY dept,job; 
>                           INTO cursor TAliascursor1
>
>
>
>thanks
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform