Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjMaintenanceForm...more problems...
Message
From
13/10/1998 16:30:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CBizObjMaintenanceForm...more problems...
Miscellaneous
Thread ID:
00146398
Message ID:
00146398
Views:
47
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
Map
View

Click here to load this message in the networking platform