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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms - switching between froms

Status
Not open for further replies.

kevin2000

Programmer
Dec 11, 2000
1
CA
My main prg initiates my menu and the initial form of my application. I enter data on the form and save it to a table. From a menu option I then switch to a different form and release the 1st form. When I save the data from the 2nd form to a table, I receive an error that the form is not an object (even though it is on the screen and I am keying data on it).
If I switch back to the first form, without completing an action on the second, I can however enter data and save to the table.
What am I missing when I switch from the 1st to the 2nd form?
Hope this is clear. Thanks in advance for your help.
 
Kevin,

How do you reference the form of which is stated that it is not an object when you save your data ??

You could use the _screen.activeform or the forms collection of _SCREEN (_SCREEN.FORMS) to reference the form from another (programmatic) location.

Hope this helps,

Weedz
veld4663@exact.nl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top