Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the biz object of a clistobj
Message
 
To
27/11/2002 14:17:27
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00727708
Message ID:
00727712
Views:
9
Hi Nerissa,

>If I am displaying a different biz object dynamically in my clistobj grid, is there a method that I can use to get the name and alias of the biz object that is currently displayed?

I don't know you're concrete scenario, but if that currently active BizObj is the one where the New, Save, etc. messages are going to, you can get a reference to the so called "primary bizobj" from the THISFORM.oPrimaryBizObj property. You can then do a call to THISFORM.oPrimaryBizObj.GetAlias() in order to get the alias name for the primary cursor in the bizobj.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform