>Whenever I have a procedure in a .prg file, I cannot get the code to reference a form. FoxPro tells me that the object form is not found. Anyone know how to get around this?
You can pass a reference to the form as a parameter to the procedure.
From the form
DO YourProc WITH THISFORM
In your prg
PROCEDURE YourProc
LPARAMETERS toForm
* Use toForm to refence the form properties or methods from your code