Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access 97
Message
De
10/08/1998 04:17:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00124978
Message ID:
00125176
Vues:
18
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform