Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index expression
Message
De
10/03/2004 08:06:15
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
10/03/2004 05:08:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00884383
Message ID:
00884782
Vues:
19
It is better to make a function1.prg
*Never start a .prg with FUNCTION or PROCEDURE
parameter p1,p2,p3,p4
return ''
That way you never have to SET PROCEDURE TO before it is called and you never have to RELEASE PROCEDURE after. USE yourfile exclusive will work as long as function1.prg is in the VFP search path or is built into the exe.

>I guess you have an index on a UDF called function1. If that is the case, make a small file function1.prg:
>function function1
>parameter p1,p2,p3,p4
>return ' '
>endfunc
>then
>set procedure to function1 additive
>use yourfile exclusive
>Then you must check the index expressions, and delete the tag based on function1. After you have deleted the tag, you can
>release procedure function1
>eras function1.*
>
>
>
>
>
>
>>thanks for help! Now I've found out that there's a function in the expression and whatever I do with the table, I get the message "the file 'function1.prg' does not exist". I used 'set safety off, set talk off', but it won't work. Any idea?
>>TIA
>>tomi szigeti
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform