Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Object not found

Status
Not open for further replies.

johnbuckley

Technical User
Mar 25, 2002
52
0
0
GB
I have a number of forms in a project one of which is called NOMINAL and is saved as NOMINAL.scx.

When I run the project two forms appear in the screen, Nominal and another called Search. The search form has a list of names in a grid and when you click on an item in the grid the nominal form is supposed to refresh with the details in that name record.

In the click event of the grid textbox I have:
NOMINAL.refresh

However when I try this I get the error:
Object Nominal Not Found

But the nominal form is still there on the screen. And the spelling is correct. All the other forms in the project reference OK so what is going on here?

I've obviously done something stupid but can anyone tell me what it is please.

John
 
johnbuckley

Try using this:
Code:
PUBLIC nominal,search
DO FORM nominal.scx NAME nominal
DO FORM search.scx NAME search
And now you can refer to either forms and the objects show be found.
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first or check this link
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top