Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index expression
Message
From
10/03/2004 08:06:15
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
10/03/2004 05:08:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00884383
Message ID:
00884782
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform