General information
Category:
The Mere Mortals Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only