General information
Category:
The Mere Mortals Framework
Title:
CBizObjMaintenanceForm...more problems...
Argh,
This is getting frustrtaing.
Ok.. As I said previously, I have got my subclass of cBizObjMaintenanceForm to work. Now, I am subclassing it...
This difference is, I want to only list the records that go with the selected person.
So, the view has a view parameter. I set up a viewparameter element in PostInitHook...
local cViewParameter
dimension aViewParameters[1,2]
cViewParameter = thisform.cPrimaryViewParameter
this.aViewParameters[1,1] = '&cViewParameter.'
this.aViewParameters[1,2] = 'thisform.uLastFoundID'
*************
I set uLastFound to -1... ok... all is well, when the form launches there are no records in the list. I call the find form and it returns the ID... I guess the form does it's thing and requeries...
Problem again, there is no Hilite Bar on the list page. I even put a thisform.refresh in the bizobj's postrequery method.
Any ideas on this one. I can't see why it would work different useing a parameterized view than it does normally.
**************
Hmm... I just changed it so that when it comes in, the query will return records and the Highlite is there. Something must happen when the form is opened and there are no records in the view to disable the grid. But, why doesn't it re-enable when I populate the view and refresh the form... hmm???
HELP!
BOb
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