Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object not contained in form
Message
From
20/11/2003 10:07:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Object not contained in form
Miscellaneous
Thread ID:
00851871
Message ID:
00851871
Views:
54
I am using a modal form to allow the customer to import data into an accounts software package.

Within this form, there are 2 Objects created, 1. To Import the Data, 2. To Publish a report.

I have been told by the accounts software writers that the Import object changes the current path to where the object is located, but does not reset the path to what it was.

So in my form before I call the Import object, I store the full path to a variable using the following "lcPath = SYS(5)+SYS(2003)". I then execute the Import Object, then after releasing the Import Object I reset the path using the "SET DEFA TO &lcPath".

I then call the Publish Object to Print to screen the report displaying the import results. I do this in the same way I created the Import Object. When the Report Preview window appears on the screen I get a message "Object not contained in form" and the system reverts back to the main menu.

Does anyone know what is happening here.

thanks in advance,

Jason Lawrie
Next
Reply
Map
View

Click here to load this message in the networking platform