>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?
Richard,
Pass the form reference to the procedure as a parameter;
DO MyProc WITH THISFORM
From wihtin the form, in the proc;
LPARAMETERS poForm
poForm.Caption = "This is a test"
RETURN