Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access 97
Message
From
10/08/1998 04:17:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00124978
Message ID:
00125176
Views:
19
>>>I need help to call a function on the main form from within a subform (datasheet)
>>>
>>>Thank You.
>>>
>>>Mathias
>>Ooops. Is this solely access or you mean VFP forms ?
>>Cetin
>
>It's really Access. But how do you achieve that in VFP? I might get a clue.
>
>Mathias
Mathias,
Good my Access knowledge is near 0, for VFP can help. The easiest way to make a form PEM (prop.event,method) accessible from anywhere is to activate the form with a name clause :
do form myform name somename linked
Somename is now an object ref to form throughout the app. It's released as form is released (or Form is released as it's released).
There are other ways too (as someone said - you could do it in VFP in at least three ways or cannot do at all). ie: _screen.forms collection hold object refs to form(set)s.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform