Information générale
Catégorie:
The Mere Mortals Framework
Titre:
Switching Data Environments Dynamically
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement