How to Use a Custom Method as a User-Defined Function (UDF) (136010)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q136010 SUMMARY
This article gives details about how to create and use custom methods.
In FoxPro version 2.x, you can define procedures and functions in the
cleanup code of FoxPro version 2.x screens. Forms in Visual FoxPro don't
have an analogous place for defining procedures and functions, so you can:
- Put cleanup code in a procedure file contained in the Project Manager,
and issue a SET PROCEDURE TO statement.
-or-
- Create functions and procedures as custom methods of the form. These
custom methods can then be referenced the same as any other method of
the form or other object.
Modification Type: | Major | Last Reviewed: | 2/15/2000 |
---|
Keywords: | KB136010 |
---|
|