Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object not contained in form
Message
De
20/11/2003 10:07:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Object not contained in form
Divers
Thread ID:
00851871
Message ID:
00851871
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform