Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CBizObjNoListMAintForm... Long question...
Message
From
19/08/1998 13:11:42
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CBizObjNoListMAintForm... Long question...
Miscellaneous
Thread ID:
00128181
Message ID:
00128181
Views:
52
Ok,

What am I doing wrong or is there a better way. I am using a sub class of the subject class. The main problem is that when I load the form, and empty record is being placed in the view. Here is my setup..

bizPerson - this business object is the parent bizobject. It has one view in the data environment, v_eeperson. The view has a filter... v_eeperson == ?vp_iID

Basically, this business object is there to display the name of the EE who's information the form is showing.

On page one of the pageframe I have aListObj1 (sublcass of cListObj).

cListObj1 - This is set as the primary business object. It is also the parent business object of bizPErson. The data environment has one view... v_hreducation (each eeperson can have 0 - many hreducation records)... The view has a filter of hreducation.eemastid = ?vp_iID (I have also tried v_eeperson.id here)

The window uses a find window, that has it own business object and view which returns the ID of the eeperson. Now, everthing works excpet for...

1. If no eeperson is found, an empty record seems to be added to the view.

2. Since cListObj1 is the primary business object, but I want fields from the eeperson view used in the caption how can I do that?

The goal here is to create a form class that is desigend for files that contain multiple records for each employee, with out having to add a view to eemast into every data environment??? And still be able to put the EE name on the form caption.

My though was perhaps to have the find form return the name... or set a property on the form with the EE's name???

The other is, I suppose that I could make bizPerson a child business object. Do they env need to be releated objects? Basically, the find form passes the eeprson ID to the form, which is used as the vp_ into the child file?

HELP - Any ideas / suggestions???

BOb
Next
Reply
Map
View

Click here to load this message in the networking platform