Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter
Message
 
 
À
19/02/2001 16:43:53
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Filter
Divers
Thread ID:
00477379
Message ID:
00477433
Vues:
26
When you run multiple commands from the Command Window [or from with a PRG, method], VFP runs it as a PRG. So when the PRG finishes running, the form object reference goes out of scope which releases the form.

>Mark,
>
> I was running both of the commands at the same time from the command line. I tried running them one at a time and it worked, thanks for the help.
>
>Jim
>
>>Are you running those 2 commands from the Command Window or an APP? I issued only those 2 commands from the Command Window and the dialogue remains until I close it. The Filter form shows then I get an immediate GetFile() dialogue to select a table to query/filter.
>>
>>I only made 1 change to the class, and that was to make it use a private DS. However, that has nothing to do with your problem.
>>
>>>When I have a table selected and run the commands you gave me in the command line the filter dialog pops up and then disappears. How do I get it to stay up?
>>>
>>>Jim
>>>
>>>>>Is there a way to bring the table filter dialog up?
>>>>>
>>>>>Thanks
>>>>>
>>>>>Jim
>>>>
>>>>You mean something like:
>>>>
>>>>oFilter = newobject('_filterdialog', addbs(home()) + 'ffc\_table')
>>>>oFilter.Show()
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform