Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching Data Environments Dynamically
Message
De
13/08/2000 11:13:48
Arie Van Der Ent
Arie Van Der Ent V.O.F.
Warnsveld, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Switching Data Environments Dynamically
Divers
Thread ID:
00404384
Message ID:
00404384
Vues:
54
Hi there,

I would like to to create a FindForm with switching Data Environments. So the user can use different filters to create lists with VIP's and so on.

I placed a cOptionGroupl on the FindForm and the following code as first in the clickmethod of the 'SearchButton':

DO CASE
CASE ThisForm.cOptionGroupl.OptiongGroup.Value = 0
ThisForm.oBizObj.LoadDataEnvironment("myFindEnvironment_0")
CASE ThisForm.cOptionGroupl.OptiongGroup.Value = 1
ThisForm.oBizObj.LoadDataEnvironment("myFindEnvironment_1")
.....
ENDCASE

After searching the FindForm header indicates that the correct number of record are found but they are not shown in the grid. The SelectButton stays unabled and het CleanUpButton is not working.

Using 'ThisForm.Refresh()' at the end of the code also does't work. What's the solution?

Arie van der Ent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform