Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function name is missing )
Message
De
27/07/1998 05:27:00
 
 
À
26/07/1998 23:27:45
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00121533
Message ID:
00121570
Vues:
14
>VFP 5.0 is not accepting the following code:
>
>
>IF NOT EXISTS(SELECT c.guro_id FROM (this.cursor_name) c ;
>WHERE c.guro_id = EVAL(cur+'.guro_id'))
>
>
>this.cursor_name is the name of one cursor and cur is the name of another. VFP gives me the compile error 'Function name is missing )'.
>I do not see any missing parens, so something must be provoking the compiler to expect a close parens prematurely. BTW, my usage of EVAL and the parens around this.cursor_name are based on what has worked for me through trial and error.
>
>Thanks in advance

One of the endearing (?) oddities of Fox is the it gets REAL picky about macro substitution.

Have you tried:
IF !EXITSTS(SELECT c.guro_id from &this.cursor_name c;
WHERE c.guro_id = &cur..guro_id

?
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform