General information
Category:
The Mere Mortals Framework
Title:
Populating a grid and a combo box with a foreign key
In Mere Mortals Framework, I am currently using a form based on CBizObjNoListMaintForm. I put a cgrid on page 1 and a ccomboboxl on page 2. The primary business object is on page 1 which loads a view in my grid. This works fine as the records are displayed when the form is loaded.
On page 2 is a combobox which loads another view. This view has an ID field. The view loaded on my grid in page 1 is related to my view in the combobox through its foreign key (iID). Is it possible to rearrange the records displayed on my grid based on the record that I selected in my combobox in page 2 through this iID foreign key?
At the moment, the corresponding iID of the record that I selected in my combobox is being displayed on my grid if I click back to page 1. But the rest of the data displayed doesn't change.
Nerissa Dela Rosa
McFadden's
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