Information générale
Catégorie:
Codage, syntaxe et commandes
To add to Nigel suggestion: Why not create a new method in your form, put your code in it and call the new method from the menu, something like _Screen.ActiveForm.MyMethod()? That way, you won't have to mess with the datasession id.
HTH
>I'm trying to access the fields of a data table or the contents of variables in a form running in a private datasession - from another .prg running from the menu, not the form. I can do it if the form is not running in a private datasession and I can't change a dataseeeion while the form is running. And I've done it by a button on the form but I want to do it from the menu.
>
>The purpose of this is to facilitate the user clicking on a memu item called 'Letters' and access a .prg that will drop the name/address of the party currently displayed on the form into a Word doc.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement