>>>>>>>>>I am trying to evaluate the expression "form1.office1.value" but the error "Object form1 is not found" results. the form I created is subclassed but still is called 'Form1'.
>
>>If you've left in the "Form1" as the name and you have another form open that has the "Form1" name, then you could be referencing the wrong form. Try giving each form a unique name or at least a unique variable in the DO FORM command.
>>
>>Steve
>
>Let me rehash as this is bugging me:
>I've created a form w/filename called binput.scx. On it is a textbox called office1 which a user will fill in. The caption I have named query1. I have a test.prg which reads:
>do form binput
>? query1.office1.value
>and the result is "QUERY1 is not an object.
>I've even tried "DO Form binput Name query1 LINKED" and same result
Before, DO FORM, can you try PUBLIC query1?